PDA

View Full Version : How to run 2 websites ?


simplygloba
10-12-2009, 03:46 AM
Hi . I have 2 Database instances with DASP. I set up one DB and one web for that DB. Now i have restore 2nd DB . And for that i want to have another website which call second DB. Now the problem is , in web application tool there is one default page that is calling Web1. Now how can i set another page to call another web ?

Web1
root / web1folder / subfolders - in default.html i am calling web1

web2
root / web2folder / subfolders - what should do for it ?

Ramses
10-12-2009, 04:31 AM
You could actually create a redirect for your domain as shown in the KB article here:

http://support.discountasp.net/KB/a369/how-to-redirect-a-subdomain-to-a-subdirectory.aspx

If you're on IIS7, you can also try the URLRewrite module: http://learn.iis.net/page.aspx/460/using-url-rewrite-module/

simplygloba
10-12-2009, 05:19 AM
Thanks. But in above solution it suggest the sub domain to have. My DASP web name is http://webanwme.biz . And in that i create default page to redirect to one project. But how do i create sub domain to have diff default page ?