Background Setup Info

Domain: abc.ca.gov

Web Server Name: web1

Server FQDN: web1.abc.ca.gov

DNS Alias for FQDN: intranet

Browser URL: http://intranet/


Question 1: Is it possible then to setup a canonical sub-domain for this alias? Ex.

http://docs.intranet/

Question 2: If not, how about a new alias for a real sub-domain? Ex.

Sub-domain          DNS Alias         URL
docs.abc.ca.gov     intranetdocs      http://intranetdocs/

(Optional) The intention here is to prep our intranet site for serving up file attachments (MS Office, Adobe, etc.) from a separate domain, so that we might build a mini-cms app and keep the files out of the website (1998, I know)... any constructive advice/suggestions are welcome.


Why the downvotes? It's a pretty legit, on-topic question and relates directly to web software development (thousands of SO questions around DNS, domains, and routing).

link|improve this question
Is your intranet site running on IIS 7+? – M.Babcock Jan 5 at 0:26
It uses IIS 7.5 – one.beat.consumer Jan 5 at 0:30
+1 to make up for someone's poorly communicated downvote (not mine). What you are after could generally be considered a reverse proxy. I've only lightly played with the Application Request Routing extension for IIS (only available for 7+), but here is a similar question from the IIS.net forums. – M.Babcock Jan 5 at 0:41
feedback

migrated from stackoverflow.com Jan 5 at 20:25

This question came from our site for professional and enthusiast programmers.

1 Answer

It's hard to tell what you're asking for here, however I'll try to answer it anyway. From what I see you have a web server with FQDN of web.blah.realTLD. First off I highly recommend against using a fake TLD and setup a subdomain for this, however you can't setup a Cname for the root of a DNS zone (RFC 1034). Your best option is to set an A record for docs.intranet to the IP address of the web server.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.