Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    2

    Default htaccess - Default settings?

    I have a hosting account with one main domain linked to it (mysite.com)
    There are multiple addon domain on that accound hosted under "public_html/folder/newdomain"

    in cPanel 10, after adding domains the domain url was always "http://newdomain.com"

    Now, after my webhost manager upgraded my cPanel from 10 -> 11 last week after adding domains the domain url gets resolved from "http://newdomain.com" to "http://mysite.com/folder/newdomain.com"

    If I open the htaccess file in the root of the new domain Engine Rewite is "ON" and is resolving the domain name.
    Can I reset that setting? So that at default, the htaccess does not rewrite the path of the url?
    Last edited by skuliaxe; 07-16-2009 at 10:08 PM.

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    Addon domains utilize mod-rewrite to point to the correct location
    since you are basically hosting two or more hosting sites from
    the same account and need to differentiate them.

    Now one problem I do see is in your domain paths ....

    In Cpanel 11, the path for addon domains is:
    Code:
    /home/(login)/public_html/(domainfolder)
    You may want to move your addon domain folders up one level
    on your account and remove the extra "/folder/" from the .htaccess.

    This will get rid of you having an extra subfolder showing up on all your
    domains and any further addon domains you add should already be
    setup correctly from the start.

Similar Threads & Tags
Similar threads

  1. cPanel Default Settings
    By cpanelgermain in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-27-2009, 10:57 AM
  2. Default Account Settings?
    By aquatux in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-18-2009, 03:07 AM
  3. Modify default htaccess for new accounts
    By Siroro in forum New User Questions
    Replies: 1
    Last Post: 07-27-2006, 02:42 AM
  4. default 'new account' settings
    By wcn in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-04-2005, 04:39 AM
  5. .htaccess settings and ExecCGI problems
    By qwerty in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-03-2004, 09:46 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube