Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

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

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.

Thanks.
0
Anti-Mhz
Asked:
Anti-Mhz
  • 4
  • 3
  • 2
  • +2
1 Solution
 
JohnGerhardtCommented:
0
 
Anti-MhzAuthor Commented:
RussianBlue. If i have a sharepoint site with url server:1153 how can I add a host value of www.team.com to be the internal url for this site?

John yur method is not that what im looking for
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Dave_ANDCommented:
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 team.com and any other sites working on port 80 within IIS will still work as they did before.
0
 
Anti-MhzAuthor Commented:
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:

http://i35.tinypic.com/16k6q74.jpg
0
 
RussianblueCommented:
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.

0
 
Dave_ANDCommented:
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.
0
 
Dave_ANDCommented:
to add, your DNS Entry must match your host header i.e "CNAME arc <your server name.domain.local>"
0
 
Anti-MhzAuthor Commented:
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?




0
 
EonasdanCommented:
You can use this ASP script to redirect the users to a website and port number
<%
response.redirect("http://www.site.com:portnumber")
%>

Open in new window

0
 
Dave_ANDCommented:
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
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now