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

    Default Domain resolves to wrong path

    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
    Last edited by Infopro; 10-17-2009 at 04:46 AM.

  2. #2
    Member
    Join Date
    Mar 2006
    Posts
    13

    Default

    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. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Default

    Quote Originally Posted by UmbraHosting View Post
    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.

    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!
    Last edited by kwellman; 10-16-2009 at 08:28 PM.

Similar Threads & Tags
Similar threads

  1. SSL resolves to the wrong host...
    By WebTrooper in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-24-2004, 06:57 PM
  2. IP resolves to wrong domain
    By doubledome in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-10-2004, 09:20 AM
  3. ip resolves wrong hostname??
    By Devil Inside in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-29-2003, 02:39 PM
  4. Please help me on this one. Domain name resolves when it wants to.
    By wacnstac in forum cPanel and WHM Discussions
    Replies: 56
    Last Post: 04-20-2003, 08:21 AM
  5. before domain resolves
    By unite the cows in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-03-2002, 12:27 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube