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
Support Center Login
Social Media Login
It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!