Forum Moderators: phranque

Message Too Old, No Replies

Dns

is this possible

         

mack

4:30 am on Aug 27, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



It is possible to have...

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.

bobriggs

4:40 am on Aug 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



sure.

Most of the time it is done on the same server.

Do a site search for subdomains or vanity domains.

The same DNS came handle both.

pageoneresults

4:57 am on Aug 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



To add to that, do a search for canonicals and paynt.

bobriggs

5:38 am on Aug 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are other ways, and I'm sure that paynt will have something to say, but the simplest way is on your server.

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.

mack

12:32 pm on Aug 27, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Thankd for all your replies. it apeare that i can set it up in such a way that www.domain.com/content also resolves content.domain.com

One issue. Has anyone ever had duplicate content problems when using this method?

mack

5:19 pm on Aug 28, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



sorry for bringing this one back to the top but I could use some more info.

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.