Hosing a new site with new domain

Discussion in 'Hosting Services / Control Panel' started by bash_ban, Nov 4, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,

    I have an account with discountasp with a site hosted already. Now I would like to add another web site with a new domain i registered recently. How to do this. Kindly help.

    BR.
     
  2. Hi,
    There are a lot of ways to do this, some of the best being with IIS7 now.
    You can add domains to your current account as Pointers.
    Then create your additional site, placing it in its own folder.
    From your Control Panel create an application for that folder.
    Now in the root of your site use code to sniff and redirect the incoming domain requests.
    Salute,
    Mark


    Technical Evangelist for DiscountASP.NET
    http://www.iis7test.com/webcasts/
    http://weblogs.asp.net/markwisecarver/
    http://blogs.windowsclient.net/wisecarver/default.aspx

    (Microsoft IT Usability http://msitusability.multiply.com/)
     
  3. Wisemx, With DASP, do we have enough access to IIS 7 to make the changes you mention? If so, can we do it through the control panel, or do we need to put in a support ticket?
     
  4. We support domain pointers that only point to the root, therefore, www.a.com and www.b.com will have the exact same content. For www.b.com to have separatefiles and content, it would have to be a totally separate hosting account. The redirecting is a workaround and not full-proof.

    Aristotle

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. I understand the concept to this.
    But..

    Assuming the root domain is www.a.com and the domain pointer is www.b.com
    I can understand if a user types in www.b.com you could have a aspx page looking to redirect the user.. but if the user types www.b.com/somethingelse then wouldn't the server try to go to a folder/application called soemthignelse and then return an error.
     
  6. In your advertising you state 'Multiple applications can be hosted in one account'.

    From the last post, it seems as though this is not really the case.

    I suggest you update you advertising before you get sued.
     
  7. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    You can host multiple asp.net applications in one hosting account. You can use the Web Application tool to set any subfolder as its own application starting point.
    Eric
    DiscountASP.NET - Microsoft Gold Partner
    - Best ASP.NET Web hosting: 2008, 2007, 2006, 2005 - asp.netPRO Magazine
    - Best ASP.NET Web Hosting: 2007, 2005 - Visual Studio Magazine
    - kb.discountasp.net - community.discountasp.net - www.daspblog.com
     
  8. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    For the applications, you would put them in separate subfolders. So the URL would be domain.com/app1 and domain.com/app2

    If you want to point different domains to the apps, then you would use the root domain pointer addon to point additional domains to the root of your hosting account. Then programically redirect the domains to the subfolder.


    Eric
    DiscountASP.NET - Microsoft Gold Partner
    - Best ASP.NET Web hosting: 2008, 2007, 2006, 2005 - asp.netPRO Magazine
    - Best ASP.NET Web Hosting: 2007, 2005 - Visual Studio Magazine
    - kb.discountasp.net - community.discountasp.net - www.daspblog.com
     
  9. So what url would I use to access each of this applications?

    And can I assign a different domain name to each?
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page