Hello!
By 2 weeks I looking for the answer to a problem and still have not found an answer.
I have two physical servers and a single external IP 122.122.122.122
:Server 1 - 192.168.0.1 and Server 2 - 192.168.0.2
From 1 server runs the site test.com
On the second server I attempt to run the site abc.com, only fail to make it public.
On both servers I have installed xampp 1.7.4.
when I access abc.abc.com I get this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
in xampp/apache/logs/error.log I get this message:
[warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[warn] proxy: No protocol handler was valid for the URL /error/HTTP_INTERNAL_SERVER_ERROR.html.var. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
the file httpd-vhosts.conf from xampp\apache\conf\extra\ look like:
Listen 192.168.0.1:80
Listen 192.168.0.2:80
ServerName test.com
<VirtualHost 192.168.0.1:80>
ServerAdmin postmaster@test.localhost
DocumentRoot c:\xampp\htdocs\test.LOCALHOST
ServerName test.com
ServerAlias www.test.localhost
ErrorLog "logs/test.localhost-error.log"
CustomLog "logs/test.localhost-access.log" combined
</VirtualHost>
<VirtualHost 192.168.0.2:80>
ServerAdmin postmaster@abc.localhost
DocumentRoot "C:/xampp/htdocs/abc.localhost"
ServerName abc.com
ServerAlias www.abc.localhost
ErrorLog "logs/abc.localhost-error.log"
CustomLog "logs/abc.localhost-access.log" combined
</VirtualHost>
the router is set from Ip 192.168.0.1 to 122.122.122.122
and the httpd-vhosts.conf file above is from Server 1 (192.168.0.1)
If I was not clear enough, please ask
Please help me.
I am old searching for an answer
Hoping for a quick resolution.
Thank you in advance