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

Category: Whm

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

Hits: 439
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.

OTHER ANSWERS

0

Arn
Staff
18,399 Points
2013-12-31 1:20 pm EST
Hello,

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.

Regards,
Arnel C.

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

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!