Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:

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:

share|improve this question

migrated from Aug 31 '11 at 21:13

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

marked as duplicate by Chris S Jan 26 '12 at 15:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You should be able to access it like so:

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.

share|improve this answer
yes i can access it with the port but I was hoping that I didn't have too. Do I always have to include the port if it is not port 80? – user922291 Aug 31 '11 at 19:39
Yes, since 80 is the only dedicated (or default) port for HTTP - in the simplest terms, any others must be explicitly stated. – Grant Thomas Aug 31 '11 at 20:41

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.

share|improve this answer

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