Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 310
  • Last Modified:

two websites with same domain name

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
Mr_Shaw
Asked:
Mr_Shaw
1 Solution
 
PugglewuggleCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now