Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jan 2010
    Posts
    12

    Default File Format

    By default in CPanel you have a folder called public_html and in that folder is where you put the files for your main domain. So it looks like what I have below:

    +public_html
    • newdomain1.com
    • new domain 1 files
  2. newdomain2.com
  3. new domain 2 files
  • main domain files


  • Is it possible and if so how do you make it look like this:

    +public_html
    • newdomain1.com
    • new domain 1 files
  • newdomain2.com
  • new domain 2 files
  • maindomain.com
  • main domain files

  • Also is there a way to make it not create newdomain.maindomain.com when you create an addon domain?

    Thanks for your time.
    Reply With Quote Reply With Quote

  • #2
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    When you create add on domains the add on domain folder gets automatically created inside the public_html folder. Once it create the folder you can upload the web contents inside the add on domain /public_html/addon domain/files.html.

    Moreover, also not that you can access your add on domain as http://addon.tld. rather than http://addon.maindomain.tld.

  • #3
    Member
    Join Date
    Apr 2009
    Posts
    230

    Default

    Quote Originally Posted by midwestkel View Post
    By default in CPanel you have a folder called public_html and in that folder is where you put the files for your main domain. So it looks like what I have below:

    +public_html
    • newdomain1.com
    • new domain 1 files
  • newdomain2.com
  • new domain 2 files
  • main domain files


  • Is it possible and if so how do you make it look like this:

    +public_html The files for the main domain need to be there in the public_html folder. But the files for your other domains would be inside their own corresponding sub-folder within the public_html. So that shouldn't create any confusion.

    Also is there a way to make it not create newdomain.maindomain.com when you create an addon domain?

    Thanks for your time.
    When you create an add-on domain, a corresponding subdomain is created automatically. You can access it as http://addondomain.maindomain.com as well as http://addondomain.com
    Reply With Quote Reply With Quote

  • #4
    Member
    Join Date
    Jan 2010
    Posts
    12

    Default

    Thanks for the responses. I understand how CPanel is doing it, the issue is we are moving from Hsphere to Cpanel and in Hsphere when you login to your FTP you see a folder for every domain in the root whereas in CPanel in the root you see the files for your main domain and then the folders of addon domains. I am trying to make this as less confusing to clients as possible and if we can keep the same folder/file structure that would be awesome.

  • #5
    Member
    Join Date
    Jan 2010
    Posts
    12

    Default

    Another question I got with this is when you click on File Manage and you click the drop down you see:

    domain1.maindomain.com
    domain1.com
    domain2.maindomain.com
    domain2.com
    maindomain.com

    Is there a way to hide the domain1.maindomain.com, etc?

  • #6
    Member
    Join Date
    Jan 2010
    Posts
    12

    Default

    Anyone got anything for my last two posts?

  • #7
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by midwestkel View Post
    Thanks for the responses. I understand how CPanel is doing it, the issue is we are moving from Hsphere to Cpanel and in Hsphere when you login to your FTP you see a folder for every domain in the root whereas in CPanel in the root you see the files for your main domain and then the folders of addon domains. I am trying to make this as less confusing to clients as possible and if we can keep the same folder/file structure that would be awesome.
    Changing the file structure to make it easier for your customers seems like bit more work than just explaining that with this new system from now on you'll have to login, then navigate into public_html directory to get the sub.domains, addon.domains listings. IMHO.

    Quote Originally Posted by midwestkel View Post
    Another question I got with this is when you click on File Manage and you click the drop down you see:

    domain1.maindomain.com
    domain1.com
    domain2.maindomain.com
    domain2.com
    maindomain.com

    Is there a way to hide the domain1.maindomain.com, etc?
    If the user cannot see it, no one else can either.

    You can check the documents for details on adding sub domains outside public_html if you must have this though, IIRC, this is possible via a setting on the Tweak Settings page:

    Prevent users from creating subdomains outside of their public_html

    If it was me I'd be more inclined to explain the new system rather than changing it to suit the old one.

    HTH
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  • + Reply to Thread
    Similar Threads & Tags
    Similar threads

    1. Replies: 5
      Last Post: 07-14-2011, 10:35 AM
    2. Wrong image file format!
      By rmpindia in forum cPanel and WHM Discussions
      Replies: 2
      Last Post: 06-03-2010, 03:02 PM
    3. What's the .filter file format?
      By bwechner in forum cPanel and WHM Discussions
      Replies: 7
      Last Post: 09-30-2008, 03:25 AM
    4. Change a file inbox to maildir format
      By jgreyna in forum cPanel and WHM Discussions
      Replies: 2
      Last Post: 01-05-2007, 04:38 PM
    5. nameserverips File Format
      By bhd in forum New User Questions
      Replies: 2
      Last Post: 01-04-2005, 12:38 PM
    Linkedin       Facebook       Twitter       RSS       Flickr       YouTube