InMotion Hosting Support Center

How do I change Apache's default vhost for unbound IPs within WHM?

Category: Whm

n/a Points
2013-12-31 11:32 am EST

Hits: 1,734
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.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



42,973 Points
2013-12-31 1:20 pm EST

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.

Arnel C.

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!