two questions about hosting and subdomains

Discussion in 'Hosting Services / Control Panel' started by mGolkar, Oct 28, 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 wanna know if it is possible to host more than one domain with DASP ?
    for example I have mydomain.com registered with this hosting service from DASP
    now I have a myanotherdomain.com, and i want to give this domain a quota from my account and hosting this domain, is it possibe?
    ( I dont want to have an account for hosting purpose, just want to host some of my websites in one account )

    another question is , if I can have a subdomain like sub1.mydomain.com , and it is pointing to ~/sub1 directory., but it will not change to mydomain.com/sub1 ., and i can have address like these:
    sub1.mydomain.com/home.aspx or sub1.mydomain.com/contact/faq.aspx and so on.

    Regards.
     
  2. Hi,
    You can host multiple domains here.
    One domain can be the root and all others can be pointers.
    As an example my site, msftwise.com will also answer to msftwise.net and I can also have http://mGolkar.msftwise.com/

    There are many ways to mask the redirect folder, the best, I think, is with the new IIS7 URL Rewrite.
    It's available on all DiscountASP.NET IIS7 servers.
    http://learn.iis.net/page.aspx/460/using-url-rewrite-module/
    Salute,
    Mark


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

    first question, you mean by url redirecting or by setting dns for new domains?
    I need to have a dns name for my account, so I Can set them in my new domain control panel name servers, , not by redirecting the any domain to the main domain.
    like i will create a new folder name, newsite, and in will set a domain name for that folder in control panel. then in my new domain CP , I will just put my site nameservers ( just like what you do when you have a reseller hosting account)


    2nd question. I mean exactly what this website is using right now, see it is community.discountasp.net and the iis will treat this url as a new website, so you can have directories and files after that like http://community.discountasp.net/post.aspx
    I dont think it is by url rewriting though

    regards
     
  4. Hi,
    In your accounts Control Panel you have options for "Domain Manager" and "Domain Pointers".
    Your root domain could be managed there.
    Other domains can be added as Pointers.

    Then in code, (ASP.NET, ASP or PHP), you"sniff" incoming domain requests and redirect them as needed.
    There are examles in the DiscountASP.NET KB (knowledge base).

    All of the domains for msftwise are hosted with GoDaddy, the servers are all hosted with DiscountASP.NET
    Any changes I need to make on this end can be done with IIS7 or ASP.NET

    If you want to dig through some code samples dotnetkicks is a good place to search:
    http://www.dotnetkicks.com/search?q=URL+rewrite
    Salute,
    Mark



    Technical Evangelist for DiscountASP.NET
    http://www.iis7test.com/webcasts/
    http://weblogs.asp.net/markwisecarver/
    http://blogs.windowsclient.net/wisecarver/default.aspx
     
  5. thanks :)
     
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