PDA

View Full Version : Sub Domain. Set up and use.


Dev513
01-01-2006, 07:39 AM
Can anyone explain to me how a sub domain works and how to set it up. I have already signed up for the add on and registered a new domain name. I am new to this aspect of the web and have no idea what I am doing.

Thanks.

Eric
01-02-2006, 02:43 AM
This addon sets up a wildcard subdomain, *.YourHostedDomainName.com, to point to YourHostedDomainName.com. You can programically redirect any specific subdomain to a subfolder. We have sample code in our knowledge base at:
http://kb.discountasp.net/article.aspx?id=10102

DiscountASP.NET
http://www.DiscountASP.NET

Dev513
01-02-2006, 03:35 AM
Next question. Now that I have done this is there anyway to not have the address point to www.newandersontownship.cincypeddler.com? I was told that the address could be just newandersontownship.com.

Thanks

damonlounge
01-04-2006, 01:31 AM
Hello,


Iwould like to know the difference between the added subdomain feature for $5 a month vs redirecting the page myself. I was under the impression that the added subdomain would haveit's unique address without including the address of my main site.


Example: www.subdomain.com (http://www.subdomain.com), not www.mydomain.com/subdomain (http://www.mydomain.com/subdomain)
A bit confused,
Damon

Eric
01-04-2006, 03:22 AM
There is confusion with hosting terminology.

A subdomain is a URL in the form of: subdomain.YourHostedDomainName.com. A subdomain is NOT a separate domain name. We provide an unlimited subdomain addon which sets up a wildcard subdomain, *.YourHostedDomainName.com, which points to the root, YourHostedDomainName.com. You can programically redirect any specific subdomain to a subdirectory. We have sample code in our knowledge base at: http://kb.discountasp.net/article.aspx?id=10102

If you want an alternative domain to point to your website, then you would use the Root Domain Pointer addon, which is a $15 one time fee per domain. This would point an additional domain to the root of your main hosted domain so they can pull up the same website. Root domain pointers do not come with email service. If you need the additional domains registered, there is an additional $15/yr domain fee.

You can register a domain at your preferred domain registrar and use their URL forwarding feature to your hosted website. There would be no cost associated with DiscountASP.NET. The URL will change in the user's browser so they can see that they were forwarded to another URL.

With the Root Domain Pointer addon, the user will not see the URL change in their browser.

DiscountASP.NET
http://www.DiscountASP.NET

Leeb337
03-09-2006, 04:23 AM
I may just be a bit slow, but I've read all of the posts on subdomains going back 3 years, and I must be missing something.
I have another hosting account with hostgator that I am transferring here becuase they don't support asp.net. I have one main account domain www.feniksas.com (http://www.feniksas.com) I then have a subdomain botanicallybased.feniksas.com.
however, when I type www.botanicallybased.com (http://www.botanicallybased.com) into IE, hostgator redirects to botnicallybased.feniksas.com or www.feniksas.com/botanicallybased (http://www.feniksas.com/botanicallybased) (but shows www.botanicallybased.com (http://www.botanicallybased.com) in the address bar)
How is this accomplished on your site?

I know that you can programatically redirect an subdomain to the proper subfolder, but my question is if I redirect the dns servers on my registrant site (godaddy) for my subdomain (botanicallybased.com) to point to discountasp's dns servers, how does it get directed to botanicallybased.feniksas.com?

http://community.discountasp.net/emoticons/freaked.gif

bruce
03-10-2006, 01:59 AM
HostGator is proabbly running UNIX APache server. You can do redirection like this with Apache but not IIS out of the box.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)