Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6327505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:17:30+00:00 2026-05-24T17:17:30+00:00

I have got two website which runs on for instance http://localhost:3452 & http://localhost:5234 When

  • 0

I have got two website which runs on for instance http://localhost:3452 & http://localhost:5234

When I press F5 in VS2010, I am wondering if I can set both the website on IIS so that I can just type something like http://Website1 and http://Website2 to play with both the website, instead of debugging everytime?

Is there a way to acheive this?

I tried to add a website on IIS with no success by following simple steps :

  1. RightClick on Sites > Add Website,
  2. Sitename: Website1 , ApplicationPool: DefaultApp pool , PhysicalPath: Path to the Website, Press ok.
  3. Now in the browser I tried something like: http://Website1 which comes up with the error below.

Any suggestions or alternatives on how to achieve this?

HTTP Error 500.19 – Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:17:31+00:00Added an answer on May 24, 2026 at 5:17 pm

    open c:\windows\system32\drivers\etc\hosts and add the following

    127.0.0.1  website1
    127.0.0.1  website2
    

    UAC may block you so you’ll need to open notepad as administrator to edit the file.

    In IIS change the bindings on the website so it binds to all ip addresses on port 80 but with the host header set to website1. do the same for website2.

    Now you can browse to either http://website1 or http://website2

    This will only work on your machine of course

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got very strange problem. I have one php website which is running in
I have two websites that post news information. I just got a request to
I have got two classes, one a subclass of the other (say Animal and
I've got two PostgreSQL databases that have been created using the same sql file.
I've got two Silverlight Controls in my project, both have properties TeamId. I would
I've got two hard disks in my computer, and have installed Solaris 10u8 on
I have got as follows: use constant ABC => ('one', 'two', 'three'); and I
I have two strings: the first's value is catdog and the second's is got.
I've got a form where I have two radio buttons and two interchangeable controls
If I have two domain names: altcognito.com and say I've got the other following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.