Results 1 to 8 of 8
  1. #1

    blank the IP address URL

    Whenever people visit the URL containing my IP address, like http://xxx.xxx.xxx.xxx, they will be automatically directed to the first virtual domain in my Apache server. How can I avoid that, i.e., make it a blank screen for example?
    www.handreach.net -- taking care of your web site

  2. #2

    Re: blank the IP address URL

    Originally posted by handreach
    Whenever people visit the URL containing my IP address, like http://xxx.xxx.xxx.xxx, they will be automatically directed to the first virtual domain in my Apache server. How can I avoid that, i.e., make it a blank screen for example?
    They will be directed to the first virtual domain using that ip as listed in your httpd.conf file so if you manually swap the entries and place the one you want at the top then job done

  3. #3
    That's right. But I don't want any page to be shown.
    www.handreach.net -- taking care of your web site

  4. #4
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    6,990
    Just put a blank index.html page.

  5. #5
    The problem is that all the domains in this IP address are functioning domains, so I couldn't blank anyone of them.
    www.handreach.net -- taking care of your web site

  6. #6
    In that case, just add a non-functioning dummy domain, make it the first virt host, and add a blank index page?

  7. #7
    That's a smart idea.

    I just added a random dummy domain called xyz.com at the beginning, and nothing more. After restarting Apache, the IP URL just shows a Cpanel sign: There is no website configured at this address.

    That works for me, thanks!
    Last edited by handreach; 02-04-2005 at 01:59 PM.
    www.handreach.net -- taking care of your web site

  8. #8
    Join Date
    Jun 2002
    Location
    Houston, TX
    Posts
    121
    Better idea would be to redirect to your hosting site. That way anyone who tries visiting the IP will end up seeing your hosting offers.
    Tony Kammerer - Admin, United Communications Limited
    UnitedHosting.co.uk - High Quality UK and USA based web hosting, reseller hosting, and managed clouds and dedicated servers.
    UnitedForums.co.uk - Our lively customer community with over 40,000 posts!
    ***Proudly hosting over 70,000 customer websites since 1998!***

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •