At the moment, my server is only accessible via ssh tunnel. The server's domain name points to an IP which is not accessible outside the firewall. So users create a tunnel from localhost:88 to myserver.xx.xx:80. When they browse http://localhost:88
they only get the shared IP page. I know there is a solution involving modifying the hosts file, but I don't want to make users have to go through yet another hoop.
I would like one of my sites to be the default seen when browsed via ip address. To do this, I changed the sharedip section of /etc/apache2/vhosts/Vhosts_ispconfig.conf to point to one of my sites and it worked but it was overwritten after a while.
The next thing I might try is making /var/www/sharedip a link to /var/www/web2/web. The problem with that is Vhosts_ispconfig.conf does not give the parameters I want for the site such as DirectoryIndex and Files sections for php.
Should I bother trying to put all that stuff in a .htaccess file or is there some easier way to do this?