Solved

two websites with same domain name

Posted on 2008-10-10
1
301 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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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