Forum Moderators: phranque
content1.domain.com
content2.domain.com
Running on the same server.... I am totaly new to DNS. The reason I ask is i have a few domains with similar content and I wish to merge the smaller sites into one larger site but using the above mentioned form of url management. What I was planning to do was have www.dontent1.com map to content1.othersite.com etc etc. Any tips gratefully appreciated.
If your host is doing the DNS, it is set up like this:
yourdomain.com
or www.yourdomain.com
makes requests to your root directory.
But if you have set up
other.yourdomain.com
or
vanity.domain.com
The same DNS servers can direct the requests to a subdirectory called /other or /vanity on yourdomian.com
In my server set up, if someone wanted to type in www.mydomain.com/vanity, they'd get the same results as vanity.mydomain.com/
A lot of configurations, but you really need to check with your host if you really want to do it.
And of course, what I've said is based upon what you asked, same server?
I've seen some with different IP addresses. I don't know how that's done, but maybe paynt can explain it.
My host allows me to manage my dns.
right now www.domain.com has a cname pointing to serverxxxx.hostcompany.com
ftp.domain.com has cname pointing to serxeryyyy.hostingcompany.com
if I wanted foo.domain.com woudl I simply create a folder www.domain.com/foo and then ....
foo.domain.com "A" record to www.domain.com/foo
I have been reading up on various posts using the search but hvent been able to find out how to configure this. I know i coudl just go and try it but my dns only updates once a day at 9am so if i get it wrong there is a long wait to try again.. I woudl like to get it right first time.