General discussion
-
CreatorTopic
-
December 4, 2001 at 1:26 pm #2130550
URL Redirection
Lockedby ibrahim · about 20 years, 5 months ago
Currently I have 2 port in my IIs, which was port 80 and port 81. And the default port was port 80. How can I configure my server to make a redirection to both of my IIs port. Let say if I type the URL http://www.any.com/ it will go to my port 80 and if I type URL http://web.any.com/ it will go to my port 81.
PS:) Besides having IIs server, I’m also running my own DNS Server. Thanks In Advance.
Topic is locked -
CreatorTopic
All Comments
-
AuthorReplies
-
-
December 4, 2001 at 1:50 pm #3548197
URL Redirection
by maxwell edison · about 20 years, 5 months ago
In reply to URL Redirection
The Redirect URL function in the control panel allows you to set up subdomains which forward to directories in your web space.
For example, you have a subdirectory called /project. You can use URL redirection to map the subdomain http://project.yourdomain.com/ to the files in this directory.
To do this requires two steps in the control panel:
Click on “modify URL redirections” and follow the instructions to set up a new subdomain.
Click on Modify DNS. This allows you to add entries to the zone file for your domain on our name servers. You must set up the same subdomain name with an A record pointing to the IP address given to you in the “modify URL redirections” section.
-
December 4, 2001 at 1:55 pm #3548195
URL Redirection
by maxwell edison · about 20 years, 5 months ago
In reply to URL Redirection
.
.
Perhaps a helpful link: -
December 4, 2001 at 2:08 pm #3548193
URL Redirection
by ibrahim · about 20 years, 5 months ago
In reply to URL Redirection
I don’t get what you had answer. Is the Redirect URL function in the control panel was a program installed.
-
-
December 7, 2001 at 1:41 am #3546349
URL Redirection
by cavedweller · about 20 years, 5 months ago
In reply to URL Redirection
DNS won’t help because it only returns the address, not a port.
-
December 7, 2001 at 1:44 am #3546343
URL Redirection
by cavedweller · about 20 years, 5 months ago
In reply to URL Redirection
Hit the done button too fast….
I think you are making the problem too difficult. Why not have the web server service multiple addresses instead of multiple ports. You can set unique home directories for each virtual server.
-
December 23, 2001 at 12:26 pm #3575036
URL Redirection
by ibrahim · about 20 years, 5 months ago
In reply to URL Redirection
Poster rated this answer
-
-
December 22, 2001 at 8:48 am #3567849
URL Redirection
by faisalmasood · about 20 years, 5 months ago
In reply to URL Redirection
There are three ways to host multiple sites on one IIS server.
1) Using seperate IPs for each site.
2) using different ports.
3) using Host headers.You are using Port method. In this method the client must know the port number to connect tothe site having assigned different port #, as the default port is 80. I think you don’t want your clients to remember port # to connect to the site (81). But you can’t redirect clients from IIS with Port method.
I would suggest you to use the 1st method os using seperaate IPs.
1)Assign additional IPs to the NIC card.(in TCPIP Protocol properties in Network Properties. & click Advanced.)
2)Then after restarting Pc. In IIS manager assign different IPs to each site in Web site Properties. (You’ll see the IPs listed there.)
3)Then update your DNS server with the Host records for each site.
🙂-
December 22, 2001 at 8:57 am #3567848
-
December 23, 2001 at 12:26 pm #3575037
URL Redirection
by ibrahim · about 20 years, 5 months ago
In reply to URL Redirection
Thanks. Your suggestion really help, but unfortunately I’m out of IP’s. Can I assign different addresses to a single II’s server by using host header?
-
-
December 23, 2001 at 4:15 pm #3574975
URL Redirection
by faisalmasood · about 20 years, 5 months ago
In reply to URL Redirection
Yes you can assign different addresses / IPs to a single IIS server.
1) Make sure to add the Host records in your DNS server.
2) Assign Host headers in IIS.
& Enjoy. 🙂
-
January 31, 2002 at 12:22 pm #3424345
URL Redirection
by ibrahim · about 20 years, 3 months ago
In reply to URL Redirection
Although it was not what I want to do, It’s still helps.
Thanks.
-
-
December 24, 2001 at 1:27 am #3574761
URL Redirection
by estebandelatorre · about 20 years, 5 months ago
In reply to URL Redirection
Easy and fast!
Bind another ip address to the nic card, define another site using this new address, (by setting up host headers)
Add a record to your DNS to match the new ip address.Hope it helps!!
-
January 31, 2002 at 12:22 pm #3424346
URL Redirection
by ibrahim · about 20 years, 3 months ago
In reply to URL Redirection
Poster rated this answer
-
-
January 31, 2002 at 12:22 pm #3424344
URL Redirection
by ibrahim · about 20 years, 3 months ago
In reply to URL Redirection
This question was closed by the author
-
-
AuthorReplies