Hi All I wunder waiting for domain processing. How I can open web by ip address.. http://192.168.1.2/~www.example.com/ ??? I have trying edit httpd.conf follow as : UserDir public_html <Directory /var/www/*/user/*/web> Options +Includes -Indexes AllowOverride None AllowOverride Indexes AuthConfig Limit FileInfo Order allow,deny Allow from all <Files ~ "^\.ht"> Deny from all </Files> </Directory> Thank you for any help.. * sorry for my english Sprite
All requests for a pure ip number (no hostname) will be taken care of by the first virtual host entries in /etc/apache2/vhosts/Vhosts_ispconfig.conf. First in that file you will find: Code: NameVirtualHost 192.168.1.2:80 <VirtualHost 192.168.1.2:80> ServerName localhost ServerAdmin root@localhost DocumentRoot /var/www/sharedip </VirtualHost> When only the ip number is used apache will give you the first virtualhost matching the ip. So, (this is maybe not a nice solution but it should work ) edit the Vhost file so your website IS the first virtualhost in the file. Just remember that any changes will be lost as soon as you edit a site in ISPConfig. //Erk PS. /etc/apache2/vhosts/Vhosts_ispconfig.conf could also be /etc/httpd/vhosts/Vhosts_ispconfig.conf or similar, depending on OS.
As erk said, yo cannot access your web sites by the IP address unless you change Vhosts_ispconfig.conf. But until your DNS records get propagated, you can edit your client computer's hosts file: http://www.howtoforge.com/forums/showthread.php?t=432&highlight=hosts+file+windows