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.

Ip tunnel

Discussion in 'General Discussion' started by tomasremi, May 21, 2008.

  1. tomasremi

    tomasremi Member

    Joined:
    May 8, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Is it possible to set a default IP --> page relation when the IP contains many pages? In other words, I have many pages in one same IP adress but I want to see one of those pages if I type the IP on my adress bar.. Is this possible?

    Thanks,
    Tomas
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Multiple websites can be served from a single IP address (this is the default behavior of cPanel/WHM). However, changing what page comes up when you enter the IP address typically requires modification to httpd.conf. If you search the forums, you should find a suitable solution as this has been discussed many times.
     
  3. tomasremi

    tomasremi Member

    Joined:
    May 8, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Can I do it without touching the httpd.conf file?
     
  4. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    No. You will need to have a different IP address for each site if you wish to be able to access each site by entering the IP address. The first <virtualhost> container in httpd.conf for the IP address will be the site that shows when you go to that IP in your browser.

    Alternatively, if you have mod_userdir enabled (See WHM's Security Center), you can go to http://xx.xx.xx.xx/~username to see the different sites where xx.xx.xx.xx is the IP address, and username is the name of the cPanel user that owns the site.
     
  5. tomasremi

    tomasremi Member

    Joined:
    May 8, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks......
     
Loading...

Share This Page