But The othr ServerName is not working.
I added as gsmith proposed:
- Code: Select all
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@parquewarner.com.local
ServerName parquewarner.com.local
DirectoryIndex index.php index.html
DocumentRoot "C:/xampp/vhosts/parquewarner.com.local/htdocs"
<Directory "C:/xampp/vhosts/parquewarner.com.local/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
# ::1 localhost
127.0.0.1 parquewarner.com.local
127.0.0.1 www.parquewarner.com.local
127.0.0.1 parquewarnerbeach.parquewarner.com.local
127.0.0.1 www.parquewarnerbeach.parquewarner.com.local
Users browsing this forum: No registered users and 96 guests