Results 1 to 8 of 8
Thread: blank the IP address URL
-
02-03-2005, 10:25 PM #1Junior Guru Wannabe
- Join Date
- Mar 2004
- Posts
- 61
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
-
02-03-2005, 10:35 PM #2Newbie
- Join Date
- Jan 2005
- Posts
- 24
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?
-
02-03-2005, 10:45 PM #3Junior Guru Wannabe
- Join Date
- Mar 2004
- Posts
- 61
That's right. But I don't want any page to be shown.
www.handreach.net -- taking care of your web site
-
02-04-2005, 01:11 AM #4Retired Moderator
- Join Date
- Mar 2004
- Location
- Singapore
- Posts
- 6,990
Just put a blank index.html page.
-
02-04-2005, 02:39 AM #5Junior Guru Wannabe
- Join Date
- Mar 2004
- Posts
- 61
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
-
02-04-2005, 07:11 AM #6Junior Guru Wannabe
- Join Date
- Jun 2004
- Posts
- 66
In that case, just add a non-functioning dummy domain, make it the first virt host, and add a blank index page?
-
02-04-2005, 01:56 PM #7Junior Guru Wannabe
- Join Date
- Mar 2004
- Posts
- 61
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
-
02-04-2005, 02:30 PM #8WHT Addict
- 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!***