Hi,
i set 2 domains that uses dedicated IP. Example:
first-site.it (91.92.93.94)
second-site.it (91.92.93.95)
I use IP address to see this sites because i haven't buyed a domain.
Two sites are stored in:
var/www/vhosts
Now i use also a OpenVPN client to connect to my server. When connected i assigned 2 IP:
Server 172.16.0.1
Client 172.16.0.2
I need to see the site second-site.it through the VPN. Now when i use http://172.16.0.1 i see what is stored in this folder:
var/www/html
What i can do to that?
1) Change DocumentRoot in etc/httpd/conf/httpd.conf?
2) Change DNS for second-site.it?
Or what else?
Thanks
Alessandro
i set 2 domains that uses dedicated IP. Example:
first-site.it (91.92.93.94)
second-site.it (91.92.93.95)
I use IP address to see this sites because i haven't buyed a domain.
Two sites are stored in:
var/www/vhosts
Now i use also a OpenVPN client to connect to my server. When connected i assigned 2 IP:
Server 172.16.0.1
Client 172.16.0.2
I need to see the site second-site.it through the VPN. Now when i use http://172.16.0.1 i see what is stored in this folder:
var/www/html
What i can do to that?
1) Change DocumentRoot in etc/httpd/conf/httpd.conf?
2) Change DNS for second-site.it?
Or what else?
Thanks
Alessandro