Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 12-08-2008, 07:57 AM
lmenten lmenten is offline
Hatchling Croc
 
Join Date: Jan 2008
Posts: 3
Default Keep url name for add-on domain

This is clearly a newbie question. I have two domains. One initial and one addon. When the add-on name is used the browser shows the initial domain with the subdirectory:

type: addon.com -> shows: initial.com/addon

I'd like to show only the add-on domain name when the site is accessed using the add-on url:

type addon.com -> shows addon.com

How is that done?

Thanks!

Larry
Reply With Quote
  #2  
Old 12-08-2008, 10:37 AM
Keith W's Avatar
Keith W Keith W is offline
King Croc
 
Join Date: May 2007
Location: UK
Posts: 904
Default Re: Keep url name for add-on domain

Hi Larry,

This article should help you, click here
__________________
Mouse potato - The online generations version of a couch potato
Reply With Quote
  #3  
Old 12-08-2008, 10:59 AM
ritoban ritoban is offline
Hatchling Croc
 
Join Date: Dec 2008
Posts: 17
Default Re: Keep url name for add-on domain

Hi Larry,
It seems you have just redirected your addon domain to a subdirectory in your main account
You need to create an 'addon domain' using cpanel and update your nameservers with your domain registrar for changes to take effect
Reply With Quote
  #4  
Old 12-08-2008, 02:13 PM
Idcindy Idcindy is offline
Hatchling Croc
 
Join Date: Dec 2008
Posts: 1
Default Re: Keep url name for add-on domain

Larry I have the exact same problem and same question. Keith W, I was originally told there is no reason why I should have to set my DNS servers for all the domain i host for to the ones provided with my reseller account. The very first paragraph of the article you linked says "set all nameservers to be the ones provided with your hostgator account" Would this cause the addon domains to not show up properly in the address bar which is my original problem?
Reply With Quote
  #5  
Old 12-08-2008, 02:23 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Keep url name for add-on domain

Quote:
Originally Posted by ritoban View Post
Hi Larry,
It seems you have just redirected your addon domain to a subdirectory in your main account
You need to create an 'addon domain' using cpanel and update your nameservers with your domain registrar for changes to take effect
While the second paragraph is correct, what makes you think Larry redirected? Addons will always show that way, though they are also supposed to be accessed directly.
Reply With Quote
  #6  
Old 12-08-2008, 02:26 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Keep url name for add-on domain

Quote:
Originally Posted by Idcindy View Post
Larry I have the exact same problem and same question. Keith W, I was originally told there is no reason why I should have to set my DNS servers for all the domain i host for to the ones provided with my reseller account. The very first paragraph of the article you linked says "set all nameservers to be the ones provided with your hostgator account" Would this cause the addon domains to not show up properly in the address bar which is my original problem?
You probably don't have the exact same problem, only the same symptom--you've got a reseller account and Larry doesn't.

If the addon domain is yours, you could give it its own account with WHM. Or you can make it an addon of any other domain for which you were supplied nameserver. But either way, the nameservers need to be set at the registrar, and they would use the same nameservers--it's cPanel and WHM that take care of things once the DNS refers traffic to the server.
Reply With Quote
  #7  
Old 12-08-2008, 05:31 PM
lmenten lmenten is offline
Hatchling Croc
 
Join Date: Jan 2008
Posts: 3
Default Re: Keep url name for add-on domain

OK, so reading between the lines, if I want the url that was entered in the browser address bar to remain the same when the viewer actually hits the site, then I need a reseller acct rather than the sort of site that I currently subscribe to. Correct?
Reply With Quote
  #8  
Old 12-08-2008, 05:46 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Keep url name for add-on domain

Quote:
Originally Posted by lmenten View Post
OK, so reading between the lines, if I want the url that was entered in the browser address bar to remain the same when the viewer actually hits the site, then I need a reseller acct rather than the sort of site that I currently subscribe to. Correct?
No, which is why I did two different answers to you and the other poster.

As long as you have a hosting account that allows addons--all but the least expensive--you should be fine. First, set the nameservers at the domain's registrars to the one provided in your original HG welcome email.

Then, create the addon domain in cPanel. It will make a directory within public_html/www for the addon's content, and visitors should be able to see the addon site at www.addon.com.

(Note that because of the cPanel process, the addon is also a subdomain of the main domain, so can be reached via www.addon.maindomain.com or www.maindomain/adddon but that's just part of the process.)
Reply With Quote
  #9  
Old 12-09-2008, 07:19 PM
lmenten lmenten is offline
Hatchling Croc
 
Join Date: Jan 2008
Posts: 3
Default Re: Keep url name for add-on domain

I did just as you describe. The addon url is mentenfamily.org. When I type www.mentenfamily.org the address bar content changes to: http://family.menten.org/ I don't want that url to be visible. What i want displayed when the user enters www. mentefamily.org in the address bar and presses return, is www.mentenfamily.org, just as entered. The configuration that I used is below. Do I need to upgrade my account to get this behaviour?


mentenfamily.org http://menten.org:2082/frontend/x3/images/homeb.gif/public_html/family family not redirected Remove Manage Redirection
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Parking Script with FREE .COM DOMAIN and EXPIRED DOMAIN FINDER domainzaar Pre-Sales Questions 4 05-27-2008 06:33 PM
How can addon domain completely conceal all traces to primary domain? questions Shared Hosting Support 11 10-16-2007 05:51 PM
Addon domain problem, should I wait 24-48 hours before adding new domain? osakka Shared Hosting Support 1 10-01-2006 08:12 PM
Email when transferring an active domain to my new HG account as an addon domain. Karin Shared Hosting Support 4 07-18-2006 02:04 PM

All times are GMT -6. The time now is 12:32 AM.