Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    22

    Default Default path when IP is used

    I have 4 IP addresses on my server that are used for different resellers. If I type in the IP by itself I get the first page that was setup on the resellers account. I don't want this to be this way. What I need to know is how to fix this or I need to know is where each of these default paths are for each IP so I can change where it points to. Anyone know what to do?

  2. #2
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default Re: Default path when IP is used

    You can just change the order of accounts in the httpd.conf file. The first account listed under the IP is the one that will show.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    22

    Default Got something to work

    I made a new <VirtualHost> with just the IP and the DocumentRoot along with the User and Group. Now when trying to access the IP it takes it to a path specified by me.

  4. #4
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    That's another way to do it. I just mentioned the simpler option because tampering with the httpd.conf file can be risky. That's how I do it. I have an entry for any IP's that are not used for a dedicated IP site to control what visitors see when they try out the IP address.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. What is the path to the default fonts on the server
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-16-2009, 10:06 PM
  2. What is the default path to: FFMPEG and MPLAYER
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-05-2009, 03:47 AM
  3. default path for ./setup.sh
    By s1llyforyou in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-26-2008, 01:23 AM
  4. default path for whm and cpanel
    By s1llyforyou in forum New User Questions
    Replies: 1
    Last Post: 07-22-2008, 03:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube