Solved

two websites with same domain name

Posted on 2008-10-10
1
302 Views
Last Modified: 2010-05-18
I have been asked to create a web site to run on a domanin which is already used for another web site.

I have set up IIS so that my new web site is located in the Default Web Site and the files are shown in virtual directory.

I was wondering if it possible to set up another web site with IIS which uses the same domain name, but just point at a different path. For example, the new web site would be www.new_web_site.com and the old web site would be  www.new_web_site.com/old_web_site.
0
Comment
Question by:Mr_Shaw
1 Comment
 
LVL 12

Accepted Solution

by:
Pugglewuggle earned 500 total points
ID: 22693252
Hi!
The way to do it is to create a subdomain, for example: old.new_web_site.com
This involves 2 steps:
1) Just create another site in IIS and setup a host header for old.new_web_site.com
2) Create an A record in your DNS that points old to the IP address you want.
Wait just a bit (up to 24 hours depending on service) and you're good to go!
Cheers! Let me know if you have any questions!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question