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

Notices

Reply
 
Thread Tools
  #1  
Old 11-20-2008, 11:38 AM
alecks alecks is offline
Hatchling Croc
 
Join Date: Nov 2008
Posts: 2
Default Multiple Domains - Directory Structure

Hi,

I'm looking to switch hosts and have a question about this service.

What will the directory structure look like for multiple domains? I saw another hosts once that made your first domain the default folder and other add-on domains subfolders of that.

if the first domain I register is domainone.com, I'm guessing all it's files will be in a public_html/ folder

when i add domaintwo.com, will it's files be in public_html/domain2/
OR will it the structure look something liek this:
domainone/public_html/
domaintwo/public_html/

Thanks much
Reply With Quote
  #2  
Old 11-20-2008, 11:45 AM
striddy striddy is offline
Emperor Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 2,620
Default Re: Multiple Domains - Directory Structure

Quote:
Originally Posted by alecks View Post
if the first domain I register is domainone.com, I'm guessing all it's files will be in a public_html/ folder
That's correct.

Quote:
Originally Posted by alecks View Post
when i add domaintwo.com, will it's files be in public_html/domain2/
Also correct.
__________________
- David

Folding@Home Stats :
Reply With Quote
  #3  
Old 11-20-2008, 12:54 PM
alecks alecks is offline
Hatchling Croc
 
Join Date: Nov 2008
Posts: 2
Default Re: Multiple Domains - Directory Structure

Ugh, that's very disappointing. I really don't understand why hosting companies do this. Anyone know of hosts that don't do this?
Reply With Quote
  #4  
Old 11-20-2008, 01:43 PM
RainbowViper's Avatar
RainbowViper RainbowViper is offline
King Croc
 
Join Date: Mar 2008
Location: St Paul MN
Posts: 812
Default Re: Multiple Domains - Directory Structure

It's not the Host's decision, that's simply the way that cPanel works to allow multiple domains under a Shared account.
Reply With Quote
  #5  
Old 11-20-2008, 01:57 PM
Karin Karin is offline
Baby Croc
 
Join Date: Jul 2006
Posts: 87
Default Re: Multiple Domains - Directory Structure

If you get a reseller account you could give each of your domains its own cPanel.

I have a shared account. My main domain is not one I use for a site. I just use it to hold my addon domains and test folders. It works for me.
Reply With Quote
  #6  
Old 11-20-2008, 02:39 PM
RainbowViper's Avatar
RainbowViper RainbowViper is offline
King Croc
 
Join Date: Mar 2008
Location: St Paul MN
Posts: 812
Default Re: Multiple Domains - Directory Structure

33mikeg,

Stop embedding your offsite cookie-dropping images here. Use the forum smilies.

And you've been reported for this post, too.
Reply With Quote
  #7  
Old 11-20-2008, 03:32 PM
quietFinn's Avatar
quietFinn quietFinn is offline
Emperor Croc
 
Join Date: Feb 2005
Posts: 2,731
Default Re: Multiple Domains - Directory Structure

I don't know what version of cPanel HostGator servers are using, but if it's version 11 then you can choose the "Document Root home" of the addon domain.

http://www.cpanel.net/support/docs/1...ins_addon.html

"When you place the cursor in the "Subdomain/Ftp Username" text box, cPanel automatically fills in the username and "Document Root home" text boxes for you. You can modify these to your specific needs, but generally the default entries created by the system will work."
__________________
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
  #8  
Old 11-24-2008, 01:33 PM
cntbill cntbill is offline
Hatchling Croc
 
Join Date: Nov 2008
Posts: 6
Default Re: Multiple Domains - Directory Structure

Not really sure if this is the right way to ask this question, but the reply pasted below quoted from above brings me to a question on using FrontPage Extensions.

Lets say for example that domain1 is a Frontpage site and I use FrontPage to publish the site with Frontpages http feature.

But domain2 is not a Frontpage site and I use a standard FTP program for that site.Or it could be the other way around.

The question is Since FTP breaks the Frontpage extensions will I be able to use Frontpage in either site or only one and if so which one?

Quote:
Originally Posted by alecks
if the first domain I register is domainone.com, I'm guessing all it's files will be in a public_html/ folder
That's correct.

Quote:
Originally Posted by alecks
when i add domaintwo.com, will it's files be in public_html/domain2/
Also correct.
__________________
- David
Reply With Quote
  #9  
Old 11-28-2008, 07:55 PM
Warp Warp is offline
Hatchling Croc
 
Join Date: Nov 2008
Posts: 7
Default Re: Multiple Domains - Directory Structure

you can determine the doc root for each domain... by default it puts everything to /public_html/domain.com but you can change that to something other then a subfolder off of your main public_html. for example I set my other domains to domain.com/public_html. that way the main site is at /home/username/public_html and all other domains are at /home/username/domain.com/public_html. Hope that answers your question.
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
Multiple domains Zaphod Pre-Sales Questions 21 01-15-2006 05:50 PM

All times are GMT -6. The time now is 01:04 AM.

 
Forum SEO by Zoints