Mobile app version of vmapp.org
Login or Join
Bryan171

: DNS and non-root site I've set up a Zope/Plone web server on 10.10.10.10:8080. I will have several sites hosted on this server. Each site will be located below the root e.g. 10.10.10.10:8080/Mysite1,

@Bryan171

Posted in: #Dns #Server

I've set up a Zope/Plone web server on 10.10.10.10:8080. I will have several sites hosted on this server. Each site will be located below the root e.g. 10.10.10.10:8080/Mysite1, 10.10.10.10:8080/Yoursite2, 10.10.10.10:8080/Theirsite3, etc.

With DNS on a Win Server 2008 R2, I've tried creating an A record for 10.10.10.10 to point to mysites.domain.org and then use a CNAME record to point to one of the non-root sites. i.e.

A record - mysites.domain.org. IN A 10.10.10.10
CNAME record - Theirsite3.domain.org IN CNAME mysites.domain.org:8080/theirsite3


My goal is to have one IP for the server and to redirect its '10.10.10.10/sites' to a subdomain name. I'm not quite sure how to frame the question, I will clarify and update my question as needed.

Is DNS capable of handling this? or is there a better way to achieve this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan171

1 Comments

Sorted by latest first Latest Oldest Best

 

@Murphy175

RTFM CNAME RR definition:

Theirsite3.domain.org IN CNAME mysites.domain.org:8080/theirsite3


is just an extremely bad definition.

Theirsite3 IN CNAME mysites


or

Theirsite3.domain.org. IN CNAME mysites.domain.org.


in domain.org zone definition will work


All sites (presence and mapping to local FS) must be defined in http-server config. How to do this configuration is heavy server-dependent and I know nothing about IIS

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme