How do I change Apache's default vhost for unbound IPs within WHM?
I have a dedicated server hosting two sites, both of which are working well. I recently noticed, however, that if I type the IP address into a web browser, I see the default "Great Success ! Apache is working on your cPanel" message. I need to change this so the IP maps to the primary web site. I know I can do this by editing the httpd.conf the /var/cpanel/templates/apache2/main.default file (and then rebuilding the conf file), but figured there had to be a way to do this from within WHM. Unfortunately, this seems to require access to WHM -> Service Configuration -> Apache Setup which I don't see in my WHM. Thanks.
Thanks for the question! The HTTPD configuration file can only be edited if you have Root Access to the server. You can then edit it using secure shell or through the Web Host Manager interface.
I hope that helps to answer your question! Please let us know if you require any further assistance.
Like this Question? Tweet
Related ArticlesHow to Disable Password Authorization in WHM
How to Change Your Server's Hostname Using WHM
How to Modify Tweak Settings - Notifications
How to Use the Convert Addon Domain to Account WHM Tool
How to Use the MultiPHP INI Editor in WHM
You are NOT logged in. You can still browse our Support Center.
To participate within our Community Support Forum: