Second Domain

Discussion in 'Hosting Services / Control Panel' started by darryoush, Feb 17, 2006.

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

    Takeshi Eto DiscountASP.NET Staff

    We do not point domain names to subdirectories. We do have a root domain pointer for $15 one time fee per domain.

    DiscountASP.NET
    http://www.DiscountASP.NET
     
  2. Once your domain pointer is active, you could add a script on the home page of your primary domain that will redirect the pointer into the subdirectory.

    <%@LANGUAGE='VBSCRIPT' CODEPAGE='1252'%>
    <% Dim HTTPHost

    Set HTTPHost = (Request.ServerVariables('HTTP_HOST'))
    If HTTPHost = 'mydomainpointer.com' or HTTPHost = 'www.mydomainpointer.com' Then
    Response.Redirect('/MySubdirectory/')
    End If

    %>
     
  3. This is how I understand theprevious reply.

    Let's say I have two domain names: www.first.net and www.second.net

    The first is already active. Now if I had a root pointer, and I had a script like the one in the previous reply, then if someone were to type in www.second.net, he would be redirected to a folder in www.first.net?
     
  4. Dear Sultan
    1- Do we need to change the DNS of the www.second.com to DASP DNS :
    Ns1.discountasp.net
    Ns2.dicountasp.net
    2- Do we need to change the home page name from index.html to index.asp after inserting the script ?
    Thank you
     
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