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.

Domain resolves to wrong path

Discussion in 'General Discussion' started by kwellman, Oct 16, 2009.

  1. kwellman

    kwellman Registered

    Joined:
    Oct 16, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Ok, here's a strange issue I know I've seen before in the past but can't for the life of me remember what the issue was.

    I have a domain autopilotsaleslive.com/test123.html which was resolving just fine and we were able to view the file there...

    We installed curl this morning and now it is going to an apache page and requiring the username to view the files...

    autopilotsaleslive.com/auto/test123.html (auto is the account username)

    The path is /home/auto/public_html/test123.html

    Any ideas? Where would I change the path that the domain resolves to?

    Keith
     
    #1 kwellman, Oct 16, 2009
    Last edited by a moderator: Oct 17, 2009
  2. UmbraHosting

    UmbraHosting Member

    Joined:
    Mar 12, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Keith,

    When you installed curl did you run EasyApache? Did it finish correctly? You may need to run /scripts/rebuildhttpconf then /etc/init.d/httpd stop then /etc/init.d/httpd startssl in order for it to work correctly.

    It sounds like an issue with your httpd.conf file not answering correctly for your domain.
     
  3. kwellman

    kwellman Registered

    Joined:
    Oct 16, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1

    Yes I did run easyapache and yes it finished correctly.

    I just ran scripts/rebuildhttpdconf and got the following...

    Code:
    Built /usr/local/apache/conf/httpd.conf OK
    Then stopped and started based on your suggestions...

    This got rid of some strange virtual host errors I was getting but still no joy with the url resolving to the right place.

    I am rebooting the server to see if that does anything.

    UPDATE: FIXED AND WORKING! Thanks guys!
     
    #3 kwellman, Oct 16, 2009
    Last edited: Oct 16, 2009
Loading...

Share This Page