joyacv2
asked on
name in virtual hosts
Hi,
I have the following code in /etc/apache2/sites-availab le/testSit e
NameVirtualHost 10.123.108.80
<VirtualHost 10.123.108.80>
DocumentRoot /var/www/turnos
ServerAdmin webmaster@localhost
ServerAlias www.test.com
ServerName test.com
</VirtualHost>
When i enter the ip all works well, go directly to the turnos folder, but how I can make the alias and server name to work?
I have the following code in /etc/apache2/sites-availab
NameVirtualHost 10.123.108.80
<VirtualHost 10.123.108.80>
DocumentRoot /var/www/turnos
ServerAdmin webmaster@localhost
ServerAlias www.test.com
ServerName test.com
</VirtualHost>
When i enter the ip all works well, go directly to the turnos folder, but how I can make the alias and server name to work?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
create a local dns and use it around the network.
TY/SA
TY/SA
ASKER
Is internal network, how i configure the dns records?