The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

404 when i try to reach subdomains or phplist

Discussion in 'General Discussion' started by snowathlete, Apr 22, 2013.

  1. snowathlete

    snowathlete Registered

    Apr 22, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    I have a hosting package which uses Cpanel. I have a .htaccess file in my public html folder which points different domains to different paths, e.g.:

    RewriteCond %{HTTP_HOST}$ [NC]
    RewriteCond %{REQUEST_URI} !^/other/domainname1/.*$
    RewriteRule ^(.*)$ /other/domainname1/$1

    But, when I setup a subdomain, or installed phplist which result in relevant subfolders in public html folder, it seems to be setup correctly, but when I try to access them at say domainname/phplist/ I get a 404. Same thing with subdomains, e.g. even though the files and folders are where they should be.
    I'm guessing this is something to do with my .htaccess being used in this way to run multiple domains off one hosting account?

Share This Page