Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1525

Can't access wamp server virtual host from another computer

$
0
0

I have WAMP64 set up on a local computer and a website set up correctly under a virtual host, az.com. The website must be enabled for https. It's a wordpress test site, so I need to force https access.

I can access it no problem on the local computer, but can't access it remotely. I can access the localhost installation (the standard Wampserver config screen) remotely. Both computers are configured for az.com in the hosts file. Firewall is turned off.

I've tried a lot of different changes to various files, trying to get this to work, but I either get errors in the config or timeouts on the remote computer, or even breakage of the site when accessed from the server (corrupted display of pages when I tried to set up on a different port).

I'm out of ideas. This current config shows the server is not listening on port 443 but even when I've tried things to enable that, it still doesn't work.

Can anyone see what I have wrong? Have I forgotten something? I've been beating my head against the wall for 2 days and can't put it together. I'll add the significant parts of the various files below. If I need to add more, let me know.

    ==============================    httpd-ssl.comf (partial)    #    # This is the Apache server configuration file providing SSL support.    # When we also provide SSL we have to listen to the    # standard HTTP port and to the HTTPS port    #    Listen 0.0.0.0:443 https    Listen [::0]:443 https    =================================    httpd-vhosts.conf (entire file)    # Virtual Hosts    #<VirtualHost _default_:80>      ServerName localhost      ServerAlias localhost      DocumentRoot "${INSTALL_DIR}/www"<Directory "${INSTALL_DIR}/www/">        Options +Indexes +Includes +FollowSymLinks +MultiViews        AllowOverride All    #    Require local    #   Require ip 192.168.1        Require all granted</Directory></VirtualHost><VirtualHost *:443>        DocumentRoot "d:/www/az/public_html"        ServerName az.com:443        ServerName az.com        ServerAdmin consult@w4ft.com        ErrorLog "${SRVROOT}/logs/error.log"        TransferLog "d:/www/az/logs/access.log"<Directory  "d:/www/az/public_html/">    AllowOverride All    #       Require local    #       Require ip 192.168.1            Require all granted</Directory>            SSLEngine on        SSLCertificateFile "D:/wamp64/bin/apache/apache2.4.59/conf/key/certificate.crt"        SSLCertificateKeyFile "D:/wamp64/bin/apache/apache2.4.59/conf/key/private.key"    #   CustomLog "${SRVROOT}/logs/ssl_request.log"</VirtualHost>    ======================    hosts file on server    #    127.0.0.1 localhost    ::1 localhost    127.0.0.1   az.com    ::1 az.com    192.168.1.10 az.com    192.168.1.10 az.com    ::1 az.com    127.0.0.1   az.com    ::1 az.com    ======================================    hosts file on remote client computer    192.168.1.10 az.com

Viewing all articles
Browse latest Browse all 1525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>