PDA

View Full Version : newbie IP ---> resolve to main domain



Aussieguy
07-14-2004, 01:13 PM
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

DirectAdmin Support
07-14-2004, 01:29 PM
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