ispCP - Board - Support
virtualhost for IP - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: virtualhost for IP (/thread-9537.html)



virtualhost for IP - just_hoster - 02-08-2010 01:26 AM

so, i have ispcp 1.0.3

when i type :http://myip opens admin panel.

can i redirect IP to other fodler? i want to make a webpage on ip...

or on secondary ip.... on secondary ip is nothing it says:
Not Found

The requested URL / was not found on this server.

thanks CoolShy


RE: virtualhost for IP - uwe - 02-23-2010 02:40 AM

Apache displays the first virtualhost on certain interface/port combination when request comes with servername (ip or domain name) that is does not have a corresponding virtualhost entry, so you can create a vhost that is processed before ispcp entries, this one will be served when you request the IP, just make sure you put it in a way the ispcp wont overwrite it !