I'm hosting my webserver (running Debian 8) at home and I have changed the default IP to my own and it worked.
I have since reinstalled my webserver to start from a clean slate, but it seems I have forgotten how to Google and/or configure so it will listen to my domain name. Everything works on the local network (192.168.X.X).
This site can’t be reached
domainname.nl took too long to respond.
ERR_CONNECTION_TIMED_OUT
What am I doing wrong and/or forgetting?
This is my conf
of my site:
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName domainname.nl
ServerAlias www.domainname.nl
Redirect permanent / https://domainname.nl/
</VirtualHost>
<VirtualHost _default_:443>
ServerAdmin [email protected]
ServerName domainname.nl
ServerAlias www.domainname.nl
DocumentRoot /var/www/domainname.nl/public_html
ErrorLog /var/www/domainname.nl/logs/error.log
CustomLog /var/www/domainname.nl/logs/access.log combined
SSLEngine On
SSLProtocol All -SSLv2 -SSLv3
SSLCertificateFile /var/www/ssl/certificate.crt
SSLCertificateKeyFile /var/www/ssl/certificate.key
SSLCACertificateFile /var/www/ssl/cabundle.crt
</VirtualHost>
a2ensite domainname.nl
has been executed and the 000-default.conf
has had a a2dissite
. Everything in the Apache2.conf
is still default, and a2enmod ssl
is also done.
SSH
,HTTP
andHTTPS
. I'm going to configure the router right now, if that's the bad-guy thank you for the reminder!