Avatar of Eric Bourland
Eric Bourland
Flag for United States of America asked on

how to forward one web site to another using DNS?

Hi. I need to forward web site cep.gsehd.gwu.edu to www.cep-dc.org. That is, when someone points a browser at cep.gsehd.gwu.edu, she should be redirected to www.cep-dc.org.

www.cep-dc.org is located at IP 205.210.188.61. I have asked the owners of cep.gsehd.gwu.edu to edit the DNS zone file for cep.gsehd.gwu.edu, and set the A (Host) to point to IP 205.210.188.61.

That was accomplished yesterday. Now, when you point a browser at cep.gsehd.gwu.edu, you see the IIS 7.5 web server splash screen -- the splash screen of the default web site in IIS 7.5 on server 205.210.188.61.

What else do I need to do, in IIS 7.5 on server 205.210.188.61, to get the web site cep.gsehd.gwu.edu to redirect not just to the default web site, but specifically to www.cep-dc.org?

(The owners of cep.gsehd.gwu.edu are either unwilling or unable to set up, in IIS 7 on their server, a simple 301 redirect for cep.gsehd.gwu.edu to www.cep-dc.org.)

Thank you for any advice.

Eric
Microsoft IIS Web Server

Avatar of undefined
Last Comment
Eric Bourland

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
jakethecatuk

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Paul-B

I believe you need to go into your IIS panel, expand the websites folder and under there right click on the website that is the one in question, select properties. When the dialog comes up go to the 'Web Site' Tab. In the 'Web Site Identification' Framed area at the top click the button "Advanced" and at the top half there click the 'Add' button and it will pop open a little dialog box. Enter the host header "cep.gsehd.gwu.edu" in the 3rd box and click ok/save. Then click OK again at the bottom etc. to save everything. You may have to restart IIS Services.
Eric Bourland

ASKER
Hi, jakethecatuk,

Do you mean, on the IIS 7.5 server at IP 205.210.188.61, I should set up web site 'cep.gsehd.gwu.edu' and then redirect that web site to www-cep-dc.org?

It seems to me that that would not work, but I will try it. Remember that the people who own web site 'cep.gsehd.gwu.edu' cannot or will not set up a 301 redirect on their own IIS server.

Paul-B, I open IIS 7.5 and I expand the tree of web sites and right-click on cep-dc.org. I do not get an option that says Properties. I see Advanced settings, so I chose that. I don't see a 'Web Site Identification' Framed Area or an Advanced button. Hmmm. I will keep looking around.

Thank you both.

Eric
SOLUTION
jakethecatuk

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Eric Bourland

ASKER
Hi, jakethecatuk,

Your solution worked, but I was worried about having too many redirects of the cep.gsehd.gwu.edu web site. I'm also curious about this 'Web Site Identification' Framed Area that Paul-B mentions. Anyway, your solution makes sense, and it's working. I'll close this question soon. Thank you very much!

Eric
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
SOLUTION
jakethecatuk

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Paul-B

Sorry my mistake, in IIS 7 you would do...

Open IIS Manager.

In the Connections pane, expand the Sites node in the tree, and then select the site for which you want to configure a host header.

In the Actions pane, click Bindings.

In the Site Bindings dialog box, select the binding for which you want to add a host header and then click Edit or click Add to add a new binding with a host header.

In the Host name box, type cep.gsehd.gwu.edu.

Click OK.
Eric Bourland

ASKER
jakethecatuk and Paul-B, thank you both very much for your time and expertise.

Paul, I see how your solution could work -- I just add a binding for cep.gsehd.gwu.edu. I iwll keep that in mind for next time.

I hope you both have an enjoyable weekend. Take care.

Eric