Hey all,
I just upgraded myself from a shared hosting plan to a dedicated server and I have a newbie question...
My server will host multiple domains.
My server's root directory is /var/www
I added a domain to the site-available and site-enabled restarted apache2 and everything works great with one problem.
Right now if you go to via the browser to my server's ip you will get the index file at /var/www
The new domain's DocumentRoot is pointing to:
/var/www/sites/SOMEDOMAIN
For testing, I placed an index file at the domain directory and if i go to:
www.XXX.com/index.php
I works great but if i go to
www.XXX.com
I get the index of the root (the one at /var/www.
What do i need to do to change in order to make it work in a way that each domain will point to it's own index file when navigating to the domain without a reference to a specific page?
Bookmarks