How can I redirect a URL to URL:PORT on a domain

Posted on 2008-10-28
Last Modified: 2012-06-21
I have a sharepoint running on a non standard port which makes it url be http://server:1153

I want to give an easier url to all users without the port.

hosts file doesnt allow port numbers

creating new forward look up zone on the DC doesnt support port number either

The server is running Windows 2003 SBS.

Question by:Anti-Mhz
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
LVL 17

Expert Comment

ID: 22824024

Author Comment

ID: 22826412
RussianBlue. If i have a sharepoint site with url server:1153 how can I add a host value of to be the internal url for this site?

John yur method is not that what im looking for
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

LVL 15

Expert Comment

ID: 22827357
well, why not run them on port 80? you can run multipul websites on the same IIS server using port 80 by just adding in the host header information in the IIS website's IP address settings. This way you have have the header info read and any other sites working on port 80 within IIS will still work as they did before.

Author Comment

ID: 22830661
I get an error Bad Request (Invalid Hostname) when trying to access the site with the new header. Here's a screenshot of my set up:

Expert Comment

ID: 22830680
i tend to agree with Dave_AND.  

You probably CAN set it up to work like you're talking about, but it doesn't really accomplish much for you.  

Also, given that this is SBS, i wouldn't be surprised if it caused problems when you go to apply service packs etc.  SBS doesn't like a whole lot of customization like that....which bites....but that's been my experience anyway.

LVL 15

Expert Comment

ID: 22836988
Sorry forgot to say, you will also need to add a DNS entry in your DNS, so go open DNS, then create a new CNAME and point it to your server.

Open up IE and try again.

Also SBS is a great product, you can do anything you want with it, if you do it in the correct manner. Its not Server 2003 with some Wizards, its a product on its own giving the functions of larger Servers. If you know what your doing with SBS you can get the same functions of any Larger Server setups.
LVL 15

Expert Comment

ID: 22836995
to add, your DNS Entry must match your host header i.e "CNAME arc <your server name.domain.local>"

Author Comment

ID: 22840073
I added a host header value "arc" to Sharepoint 80

my domain name is arc.local

I the following CNAME record to forward look up zone ARC.LOCAL

alias: arc

FQDN for the host: arc.arc.local

i don't know, is this right?


Expert Comment

ID: 22847204
You can use this ASP script to redirect the users to a website and port number

Open in new window

LVL 15

Accepted Solution

Dave_AND earned 250 total points
ID: 22854627
As long as your server is called arc, that should work.

If its called "server" you should point it to server.local

after that to an ipconfig /flushdns

and try again

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
Configuring Remote Assistance for use with SCCM
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question