Koozali.org: home of the SME Server

http access

nicoguilbert

http access
« on: April 11, 2006, 12:15:36 PM »
Hello,

I would like to know were I disable the access on my public IP address.

I mean in I try to connect to http://public_ip_address there will be an apache error or a blank page.

Thank you !

Offline haymann

  • *
  • 212
  • +0/-0
http access
« Reply #1 on: April 11, 2006, 03:49:03 PM »
I would create an html error page to your liking, save it as index.htm, and put it in the Primary html directory... If you haven't put anything in as your primary web page, I believe there is a generic under construction page that you will see if you access your site...
Ryan

nicoguilbert

http access
« Reply #2 on: April 11, 2006, 03:54:41 PM »
Thank you haymann for your answer.

That's not exactly what I want.

I would like to have an access for the domain name (http://domain-name) but not for the IP address (http://public_ip_address).

I think I have to edit an apache config file or to create a template but I don't know how.