Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    6

    Default Default page for IP

    Let's say I have several virtual hosting sites on IP 1.2.3.4. Those all work fine, and are configured as virtual hosts in httpd.conf. What we'd like to do is have a site that comes up when 1.2.3.4 is entered into the browser. Any suggestions?

    Thanks!
    -Martin

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Create an account for it in WHM and then move its virtualhost container in httpd.conf to be the first one for that IP address. Apache will always display the first VirtualHost that it finds for a given IP address when browsed by IP address and not ServerName/ServerAlias.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. New Account Default Page
    By davidolaj in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-11-2007, 11:11 AM
  2. cPanel Default Page
    By matty005 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-28-2006, 12:12 PM
  3. default new account page
    By Soheil in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 09-20-2005, 09:43 AM
  4. Default Page
    By frogee in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-16-2003, 07:25 AM
  5. Default Page
    By frogee in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-06-2003, 10:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube