newbie IP ---> resolve to main domain

Aussieguy

Verified User
Joined
Jun 13, 2004
Messages
14
Ok I finally got a dedicated server which was setup by my hosting company.
When I put in the IP address I get the Apache welcom page instead of the main domain... Where do I go to fix this


First few lines of the apache page...

The SSL/TLS-aware Apache webserver was
successfully installed on this website.
If you can see this page, then the people who own this website have just installed the Apache Web server software


Thanks
 
Hello,

The main server IP is always set to point to /var/www/html. If you want it to point to your domain, edit /etc/httpd/conf/httpd.conf and scroll to the very bottom. You'll see 2 VirtualHosts with your server IP. Change the document root from /var/www/html to /home/admin/domains/domain.com/public_html to setup the main server IP to point to your domain. Then restart apache.

John
 
Back
Top