Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 03-18-2011, 11:00 PM
amxcld9 amxcld9 is offline
Baby Croc
 
Join Date: Mar 2011
Location: Atlanta, GA
Posts: 50
Default How does home domain work?

Coming from 1and1, so am new to cpanel

I see "Addon Domains" and redirects...

How do I target my home/root domain to a folder?

Last edited by amxcld9; 03-18-2011 at 11:03 PM.
Reply With Quote
  #2  
Old 03-19-2011, 03:41 AM
EarlyOut's Avatar
EarlyOut EarlyOut is offline
King Croc
 
Join Date: Aug 2009
Location: Sector R
Posts: 1,470
Default Re: How does home domain work?

http://support.hostgator.com/article...t-root-changes
Reply With Quote
  #3  
Old 03-19-2011, 08:47 AM
amxcld9 amxcld9 is offline
Baby Croc
 
Join Date: Mar 2011
Location: Atlanta, GA
Posts: 50
Default Re: How does home domain work?

Thanks so much!
I've been with 1and1 for years and never bothered to use or learn what the public_html folder was for

I just pointed all domains to their respective folder in the root...seemed to work fine with 1and1 - Although I didn't use any auto install scripts..
Reply With Quote
  #4  
Old 03-26-2011, 06:45 PM
jaca jaca is offline
Hatchling Croc
 
Join Date: Jul 2008
Posts: 1
Default Re: How does home domain work?

So there isn't a way to have an account at Hostgator without a main domain because of Cpanel?

For example at Dreamhost, there is no main account domain. All domains are listed as their folder name below root. They have one button installs for Wordpress etc. but don't use Fantastico.

It would be so much easier if one could the same here. We are often having clients decide they want to let their top level domain lapse but want to keep ones below. Well, you know how hard it is to explain to them options and what we need to do to remedy this at Gator...

Cheers
Reply With Quote
  #5  
Old 03-28-2011, 04:40 PM
Mr_Double_U Mr_Double_U is offline
Hatchling Croc
 
Join Date: Mar 2011
Posts: 3
Default Re: How does home domain work?

Jaca, you can set any domain on the cPanels, so thus you could possibly make your primary domain "mydummydomain.com" and then add all your "real" domains as addon domains. HostGator allows you to change your primary domain to just about anything you need, even if it isn't registered.

If you are needing to change your primary domain then I would suggest these things:

1) Copy your website for your primary domain into a folder in which you want the domain to point to.

2) Then login to your billing, I believe it's "View Hosting Packages". There will be a link that says change my domain. Click it and change it to something arbitrary, it doesn't have to be registered. Note that once you do this the changes take effect immediately, I know from experience.

3) Go back to your cPanel and add your original primary domain as an addon domain and make sure to change the directory it points to so that it points to the folder you created earlier.


This will cause no real primary domain to be used, but have all your domains still hosted all under one cPanel. Hope this helps.
Reply With Quote
  #6  
Old 03-29-2011, 06:20 PM
amxcld9 amxcld9 is offline
Baby Croc
 
Join Date: Mar 2011
Location: Atlanta, GA
Posts: 50
Default Re: How does home domain work?

This is great info. I just want to confirm that this will not "harm" anything?

Especially billing or say support not being able to identify your account (if you don't have a "real" domain name associated with your main account?)

Thought. BTW if this is confirmed good, I vote for a sticky on this solution!!!
Reply With Quote
  #7  
Old 04-05-2011, 12:41 AM
brokenchalk brokenchalk is offline
Hatchling Croc
 
Join Date: Jan 2010
Posts: 7
Default Re: How does home domain work?

[QUOTE=Mr_Double_U;284607]Jaca, you can set any domain on the cPanels, so thus you could possibly make your primary domain "mydummydomain.com" and then add all your "real" domains as addon domains. HostGator allows you to change your primary domain to just about anything you need, even if it isn't registered.

If it's possible I'd like to have a multisite drupal 7 installation and us a non-registered primary domain "d7.com which would hold the drupal core files, and then have my real domains as addon domains. Could you elaborate a little more about how I would login to d7.com if it's not registered? And/or is it easier to use a registered domain as a place to hold core drupal? To be perfectly honest I'm still having a little trouble understanding the logic of how I should be organizing my multisite drupal install. I'll start another post to elaborate on my confusion.
Reply With Quote
  #8  
Old 04-05-2011, 06:16 AM
quietFinn's Avatar
quietFinn quietFinn is offline
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,557
Default Re: How does home domain work?

Quote:
Originally Posted by brokenchalk View Post
Could you elaborate a little more about how I would login to d7.com if it's not registered?

You use the IP address instead.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #9  
Old 04-05-2011, 09:20 AM
brokenchalk brokenchalk is offline
Hatchling Croc
 
Join Date: Jan 2010
Posts: 7
Default Re: How does home domain work?

Quote:
Originally Posted by quietFinn View Post
You use the IP address instead.
Thanks for the clarification. Looking over this thread there's a link to a Document Root Changes support portal that is fairly easy to follow, and links to some instructions on Apache mod_rewrite so that I can get my URLs showing up like I want writing some code to the .htaccess file.
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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
1 Addon domain doesn't work QcMat Pre-Sales Questions 1 05-22-2008 01:29 AM
Looks alright from home, looks black from work. asdf989 Shared Hosting Support 1 01-21-2008 06:54 PM
Work at Home Community jdsalr Site Promotion 4 03-25-2004 08:38 PM
add-on domain.. how would email work for it? answer Shared Hosting Support 0 03-19-2004 02:23 AM

All times are GMT -5. The time now is 01:31 AM.