0

Possible Duplicate:
How to use DNS to redirect domain to specific port on my server

I have deployed our company intranet website to IIS 7 server added the following binding info

IP Address: All Unassigned
port: 3333
domain name: subdomain_name.domain_name.com

I have added the entry in dns also. I can ping the fully qualified domain name but when I throw it in the browser I get 404.



When the site is deployed under port 80 it works just fine. However, it doesnt work when my site is hosted on anything other then the default port (80).

Is there a way to do this? I want to access my site deployed on port 3333 like the following: subdomain.domain.com

2 Answers2

1

You should be able to access it like so:

subdomain.domain.com:3333

Furthermore, you could set up an alias on your domain controller to access it with a friendlier URL, saving colleagues from having to remember port numbers and whatnot.

Note that this most likely belongs on the Server Fault Stack Exchange site, I have voted to migrate it there for your own benefit, as that site is dedicated such topics and you ought to gain the advantage of much more experience and expertise than I can possibly hope to provide.

Please forgive any loose terminology on the subject of servers.

Grant Thomas
  • 158
  • 1
  • 8
0

You can't do this with DNS or host header redirects. You need to do a URL rewrite in order for that to happen. Have a look at the URL Rewrite module.

squillman
  • 38,163