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.

site doesnt load without www

Discussion in 'General Discussion' started by webosb, Apr 26, 2008.

  1. webosb

    webosb Member

    Joined:
    Oct 6, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I can't seem to figure this out so if anyone can help me with this issue, that would be great - I can't seem to access my page without the www part.

    When I do try to access it without the www part (seems like this only happens in firefox), it will ask me to download a randomly generated filename:

    filename: 8tb7bsuj (different everytime)
    application/x-httpd-php

    When I open it up, it's actually the code to my wordpress index.php file

    My .htaccess file is:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    My setup:
    Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5

    Anyone know how I can fix this?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Whats the htaccess for? Have you tried renaming it to something else (ie: .htaccess.txt) to see if that's causing issues?
     
  3. nerbonne

    nerbonne Well-Known Member

    Joined:
    Aug 19, 2007
    Messages:
    52
    Likes Received:
    1
    Trophy Points:
    6
    Did you look at the DNS zone files and see if there are valid entries for domain.com and not just www? I'm not sure, but I'm just throwing that out there.
     
Loading...

Share This Page