Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

IIS/URL/DNS Redirect

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  virtual directory  
Author Message
bwarner

External


Since: Sep 10, 2003
Posts: 3



(Msg. 1) Posted: Wed Sep 10, 2003 3:33 pm
Post subject: IIS/URL/DNS Redirect
Archived from groups: microsoft>public>inetserver>iis (more info?)

This is what I want to accomplish:

If someone types "fairfield-city.com" or "www.fairfield-
city.com" in a browser, I want that URL to be redirected
to "www.fairfield-city.org". I just purchased the .com
domain. The trick is...I want the URL to change in the
browser itself to www.fairfield-city.org. AND, the
requests go to the same web server with one valid public
address.

Ideas?

Thanks

 >> Stay informed about: IIS/URL/DNS Redirect 
Back to top
Login to vote
newsgroups4

External


Since: Sep 10, 2003
Posts: 31



(Msg. 2) Posted: Wed Sep 10, 2003 4:14 pm
Post subject: IIS/URL/DNS Redirect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ben:

In IIS within the properties for the .com site, under
the "home directory" tab check the radio button for "A
redirection to a URL", then below that in the box
labeled "Redirect to:" enter the .org domain name.

Click OK and test the results...

Sincerely,
Invotion Engineering Team
Advanced Microsoft Hosting Solutions
<a style='text-decoration: underline;' href="http://www.Invotion.com" target="_blank">http://www.Invotion.com</a>

 >-----Original Message-----
 >This is what I want to accomplish:
 >
 >If someone types "fairfield-city.com" or "www.fairfield-
 >city.com" in a browser, I want that URL to be redirected
 >to "www.fairfield-city.org". I just purchased the .com
 >domain. The trick is...I want the URL to change in the
 >browser itself to <a style='text-decoration: underline;' href="http://www.fairfield-city.org." target="_blank">www.fairfield-city.org.</a> AND, the
 >requests go to the same web server with one valid public
 >address.
 >
 >Ideas?
 >
 >Thanks
 >.
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS/URL/DNS Redirect 
Back to top
Login to vote
user164

External


Since: Aug 01, 2003
Posts: 172



(Msg. 3) Posted: Wed Sep 10, 2003 7:17 pm
Post subject: Re: IIS/URL/DNS Redirect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

1) Create a single site within IIS.

2) Configure your name servers to point all involved host names to the IP
address on which IIS is listening.

3) Put a simple ASP conditional redirect on the home page to check the host
value in requests and redirect if the host value contains .com.

ASP redirect.

"Ben" <bwarner.DeleteThis@fairfield-city.org> wrote in message
news:0b2901c377d2$77899a50$a001280a@phx.gbl...
 > This is what I want to accomplish:
 >
 > If someone types "fairfield-city.com" or "www.fairfield-
 > city.com" in a browser, I want that URL to be redirected
 > to "www.fairfield-city.org". I just purchased the .com
 > domain. The trick is...I want the URL to change in the
 > browser itself to <a style='text-decoration: underline;' href="http://www.fairfield-city.org." target="_blank">www.fairfield-city.org.</a> AND, the
 > requests go to the same web server with one valid public
 > address.
 >
 > Ideas?
 >
 > Thanks<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS/URL/DNS Redirect 
Back to top
Login to vote
kgafvert

External


Since: Aug 23, 2003
Posts: 2972



(Msg. 4) Posted: Thu Sep 11, 2003 1:17 am
Post subject: Re: IIS/URL/DNS Redirect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

Use host headers to host multiple web sites.
In IIS Manager, right click the <a style='text-decoration: underline;' href="http://www.fairfield-city.com" target="_blank">www.fairfield-city.com</a> web site and click
Properties.
Click on the "Home Directory" tab.
Select "A redirection to an URL"
Type in <a style='text-decoration: underline;' href="http://www.fairfield-city.org" target="_blank">www.fairfield-city.org</a>
Set it to be a permanent redirection.
Make any other changes you would like to change.

--
Regards,
Kristofer Gafvert
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">http://www.ilopia.com</a> - My personal Web Site, with information about things
i find interesting, for example Windows Server 2003.
Reply to newsgroup only. Remove NEWS if you must reply by email, but please
do not.


"Ben" <bwarner.TakeThisOut@fairfield-city.org> wrote in message
news:0b2901c377d2$77899a50$a001280a@phx.gbl...
 > This is what I want to accomplish:
 >
 > If someone types "fairfield-city.com" or "www.fairfield-
 > city.com" in a browser, I want that URL to be redirected
 > to "www.fairfield-city.org". I just purchased the .com
 > domain. The trick is...I want the URL to change in the
 > browser itself to <a style='text-decoration: underline;' href="http://www.fairfield-city.org." target="_blank">www.fairfield-city.org.</a> AND, the
 > requests go to the same web server with one valid public
 > address.
 >
 > Ideas?
 >
 > Thanks<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS/URL/DNS Redirect 
Back to top
Login to vote
user658

External


Since: Aug 26, 2003
Posts: 1525



(Msg. 5) Posted: Thu Sep 11, 2003 3:23 pm
Post subject: Re: IIS/URL/DNS Redirect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 10 Sep 2003 12:33:52 -0700, "Ben" <bwarner.TakeThisOut@fairfield-city.org>
wrote:

 >If someone types "fairfield-city.com" or "www.fairfield-
 >city.com" in a browser, I want that URL to be redirected
 >to "www.fairfield-city.org". I just purchased the .com
 >domain. The trick is...I want the URL to change in the
 >browser itself to <a style='text-decoration: underline;' href="http://www.fairfield-city.org." target="_blank">www.fairfield-city.org.</a> AND, the
 >requests go to the same web server with one valid public
 >address.

This is exactly the purpose of the CNAME alias record in DNS. Add a
CNAME in the fairfield-city.com DNS for both the www host and the
parent or blank host to <a style='text-decoration: underline;' href="http://www.fairfield-city.org." target="_blank">www.fairfield-city.org.</a>

Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS/URL/DNS Redirect 
Back to top
Login to vote
user164

External


Since: Aug 01, 2003
Posts: 172



(Msg. 6) Posted: Thu Sep 11, 2003 3:23 pm
Post subject: Re: IIS/URL/DNS Redirect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > This is exactly the purpose of the CNAME alias record in DNS. Add a
 > CNAME in the fairfield-city.com DNS for both the www host and the
<font color=purple> > parent or blank host to <a style='text-decoration: underline;' href="http://www.fairfield-city.org.</font" target="_blank">www.fairfield-city.org.</font</a>>

The only problem with this is that the client will still see the .com
address. A CNAME record would take the client to the right place, but would
not alert the client to the fact that they have used the wrong address.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS/URL/DNS Redirect 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How do you redirect a DNS name? - We had to do a domain change in our development enironment from test2003 to test2003.com. We are running various applications that use the computername as a default name for a web site. Thus we have changed the web page URL from..
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]