Hi,
I am hosting two websites with the same IP addresses. I made the following configuration: website 2 (xyz.com) is online. However, website 1 (abc.com) is not online. When I ping both IP addresses, it shows request time out.
NameVirtualHost *:80
<VirtualHost *:80>
ServerName [url]www.abc.com[/url]
ServerAlias abc.com *abc.com
DocumentRoot /www/domain
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.abc\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://www.abc.com/$1 [L,R]
</VirtualHost>
<VirtualHost *:80>
ServerName [url]www.xyz.com[/url]
ServerAlias xyz.com *.xyz.com
DocumentRoot /www/domain
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.xyz\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://www.xyz.com/$1 [L,R]
</VirtualHost>
When I ping the IP addresses of websites, it shows Request timed out.
Ping statistics for x.x.x.x:
Pac kets: sent =4, Received=0, Lost=4<100% loss>
Will greatly appreciate your help.
Thank you very much