You are doing something wrong.
Nginx? Apache?
nginx -T
or
apachectl -S
Or you have additional firewalls. Linux over Windows? Then you have to check the Linux- and the Windows-Firewall.
You are doing something wrong.
Nginx? Apache?
nginx -T
or
apachectl -S
Or you have additional firewalls. Linux over Windows? Then you have to check the Linux- and the Windows-Firewall.
apache version 2.4.38
apachectl -S results in the following:
AH00526: Syntax error on line 33 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file ‘/etc/letsencrypt/live/gordonsweb.uk/fullchain.pem’ does not exist or is empty
Action ‘-S’ failed.
The Apache error log may have more information.
Server also connect direct to the router by Ethernet cable.
Use sudo or root …
sudo apachectl -S
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
VirtualHost configuration:
*:443 gordonsweb.uk (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
*:80 127.0.1.1 (/etc/apache2/sites-enabled/000-default.conf:1)
ServerRoot: “/etc/apache2”
Main DocumentRoot: “/var/www/html”
Main ErrorLog: “/var/log/apache2/error.log”
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/run/apache2/" mechanism=default
Mutex mpm-accept: using_defaults
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
PidFile: “/var/run/apache2/apache2.pid”
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name=“www-data” id=33
Group: name=“www-data” id=33
There is no port 80 vHost with gordonsweb.uk
.
And (good) there is *:80
defined, not a single ip address.
So
curl https://gordonsweb.uk/
should work from that machine. If yes, it’s a router- or firewall problem.
curl: (6) Could not resolve host: gordonsweb.uk
Hi asghar,
Server not down. Just not accessible from internet.
problem with configuration
Cheers
JuergenAuer,
Ran: curl https://gordonsweb.uk/
Result: curl: (6) Could not resolve host: gordonsweb.uk
Please could you explain your comment:
" There is no port 80 vHost with gordonsweb.uk
."
“And (good) there is *:80
defined, not a single ip address.”
could you please help me correct the above if that is what the trouble is.
Kind Regards
Gordon128
JuergenAuer,
Ok I have a second web server I’ve just done.
It’s only HTTP but works on external WAN
http://www.gordonsweb.uk
Both domains (non-www and www) have the same ip address - https://check-your-website.server-daten.de/?q=gordonsweb.uk
Host | T | IP-Address | is auth. | ∑ Queries | ∑ Timeout |
---|---|---|---|---|---|
gordonsweb.uk | A | 82.7.10.112 Brighton/England/United Kingdom (GB) - Virgin Media Limited Hostname: cpc146294-brig23-2-0-cust623.3-3.cable.virginm.net | yes | 1 | 0 |
AAAA | yes | ||||
www.gordonsweb.uk | A | 82.7.10.112 Brighton/England/United Kingdom (GB) - Virgin Media Limited Hostname: cpc146294-brig23-2-0-cust623.3-3.cable.virginm.net | yes | 1 | 0 |
AAAA | yes |
Both port 80 answer, both port 443 have a timeout.
Looks like your network configuration is buggy if there are different servers.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.