Hello, I am slightly familiar with setting up apache and modifying the config file. This is my scenario. We have three or more domain names hosted on this machine. They are all hitting the correct directories where the web files are located.
heres what happens. If i type in or xx.xxx.xxx.xx (ip address) it goes to the main directory. but when i type in a different address which we host, it goes to that particular subdirectory, but on the address bar, it goes to where domainname is the name of the subdirectory. Now I know that you can do virtual hosts, but when I read the httpd.conf file, i saw nothing about virtual hosts nor anything mentioning this particular subdirectory. In other words, it seems as if it magically knows where to look for that domain.
My question is how is it set up, and wether it's an ISP set up or if apache has been configured to do that. What I would like to do, is eliminate and have the root folder for that domain name point to the particular subdirectory.
Thanks in advance if anyone can help me figure this out.
heres what happens. If i type in or xx.xxx.xxx.xx (ip address) it goes to the main directory. but when i type in a different address which we host, it goes to that particular subdirectory, but on the address bar, it goes to where domainname is the name of the subdirectory. Now I know that you can do virtual hosts, but when I read the httpd.conf file, i saw nothing about virtual hosts nor anything mentioning this particular subdirectory. In other words, it seems as if it magically knows where to look for that domain.
My question is how is it set up, and wether it's an ISP set up or if apache has been configured to do that. What I would like to do, is eliminate and have the root folder for that domain name point to the particular subdirectory.
Thanks in advance if anyone can help me figure this out.