Hi there everyone!
I created a vhost and it's accessible on the machine via [website1] but I would like it to be the vhost that is accessed via lan and wan as doc root. So if someone visits 192.168.1.111 or wan IP, they get to website1. How do I go about doing this?
Here's my vhosts:
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName website1
DocumentRoot "d:/websites/website1"
<Directory "d:/websites/website1/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
Thanks for your time!
I created a vhost and it's accessible on the machine via [website1] but I would like it to be the vhost that is accessed via lan and wan as doc root. So if someone visits 192.168.1.111 or wan IP, they get to website1. How do I go about doing this?
Here's my vhosts:
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName website1
DocumentRoot "d:/websites/website1"
<Directory "d:/websites/website1/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
Thanks for your time!