Problem with new site

HuaMin Chen
HuaMin Chen used Ask the Experts™
on
Hi,
I've created one more site within the same Win 2008 server but I get this error

Service Unavailable


HTTP Error 503. The service is unavailable.

when I am going to the new site, that is
http://my-friend.co

then I have to stop the new site and start the old one, that is

http://my-friend.co/Start

and I get no problem when going to the old site, using the same server. why?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - Consultant
Top Expert 2013

Commented:
Hi,

In the host header, you will need to use the site name instead of IP address for the two websites.

Regards
HuaMin ChenProblem resolver

Author

Commented:
Many thanks. Are you talking about Site Bindings or not? If not, where is host header?
Top Expert 2016

Commented:
Yes that is in the Bindings.. hostname, port, ip address, one must be unique for each site
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

HuaMin ChenProblem resolver

Author

Commented:
Here are the bindings I have, while I also have the same for the previous site, which is working fine.
t679.png
HuaMin ChenProblem resolver

Author

Commented:
Any other help?
HuaMin ChenProblem resolver

Author

Commented:
Any help?
Monica PSoftware Developer

Commented:
Check the target framework is set properly to the version of dotnet application you have created for all sites....

http://technet.microsoft.com/en-us/library/cc754523(v=ws.10).aspx
HuaMin ChenProblem resolver

Author

Commented:
No, I've started VS2013 already, which is of the new site I am talking about, while VS2012 is of the previous site.
https://dl.dropboxusercontent.com/u/40211031/t682.png

but I am still getting the same problem.
HuaMin ChenProblem resolver

Author

Commented:
Any other help?
Expert of the Year 2014
Top Expert 2014

Commented:
I've requested that this question be deleted for the following reason:

The question has either no comments or not enough useful information to be called an "answer".
Top Expert 2016

Commented:
do you have a dns entry for my-friend.co that points to the correct ip address?
HuaMin ChenProblem resolver

Author

Commented:
Yes, I have.

The question is why I cannot go to
http://my-friend.co

but I have to go to this

http://my-friend.co/Start
Top Expert 2016

Commented:
in iis manager go to the site,
you will be presented with this viewif you switch to content view
Content View
What do you see there? Perhaps you should change your virtual directory to <whatever_it_is_now> to <whatever_it_is_now>\start
HuaMin ChenProblem resolver

Author

Commented:
Sorry, what to adjust to the following?

https://dl.dropboxusercontent.com/u/40211031/t835.png
HuaMin ChenProblem resolver

Author

Commented:
Gary,
Can you please hold on and wait for 2 weeks more to delete this, as I also want to see if there is one solution or not? Thanks a lot.
HuaMin ChenProblem resolver

Author

Commented:
Hi all,
I really want to object deleting this thread. Please help. Thanks  a lot
Top Expert 2016

Commented:
you need to clilck on vs2012 and then show the contents .. is there a web.config located there?  any files at all?
HuaMin ChenProblem resolver

Author

Commented:
Sorry, what to adjust to VS2012 below?
https://dl.dropboxusercontent.com/u/40211031/t837.png
Top Expert 2016

Commented:
you first have to SELECT the site as shown here
http://screencast.com/t/EXOiSB5H

I'm thinking that all you will see in the content is the folder start so you have to change the virtual directory to point to <path>\VS2012\Start
HuaMin ChenProblem resolver

Author

Commented:
Hi,
do you mean to add one VirtualDirectory, within VS2012 below?
https://dl.dropboxusercontent.com/u/40211031/t839.png

what to put above?
Top Expert 2016
Commented:
since virtual directory that you named vs2012 can be pointing ANYWHERE what are the contents of that folder! is the folder start actually the location of your website's aspx/html files?
HuaMin ChenProblem resolver

Author

Commented:
VS2012 is actually pointing to this physical folder

C:\inetpub\VS2012

to which each time I do deploy the relevant projects.
HuaMin ChenProblem resolver

Author

Commented:
Any other help?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial