domain pointing to a specific folder
there is a server x.y.x.com
and i want a domain aa.vv.com to point a specific folder from the x.y.com Is it practicable? |
I think you mean. I've got apache answering for x.y.com and its document root is set to, say: /var/www/htdocs/index.html, meanwhile I've also got aa.vv.com aimed at that machine and I want apache to know its document root is: /var/www/htdocs/aavv/index.html
Is that right? If so, Virtual Domains.... take a look at your httpd.conf file and page down to near the bottom. Remember you'll have to create a virtual entry for your primary domain too. Also, this is so NOT a hardware question, I'm gonna move this one to Software. Cheers, Finegan |
Thanks for your response.
I feel that i have to change the name server to make the new subdomain x.y.com of x.com Am i right? |
This x.y. stuff is a little confusing. Let's use a full word:
In the name server record for goop.com if you wanted a blue.goop.com, then yes you need to add an entry for blue into goop.com's primary name record to point to the same IP. Then amend the httpd.conf file for virtual domains. Cheers, Finegan |
All times are GMT -5. The time now is 06:20 AM. |