On 2024-12-13 21:03, Kevin Watkins wrote:
I had two working websites until I realized over the weekend that my
server was running Ubuntu 23.04 which had no apparent easy upgrade to
24.04. So I backed up my web files and site config files and did a clean
install of Ubuntu. I have been trying to get my sites back up since
(Sunday 8th of December).I am currently working on getting one of them
up, once it is up I’ll work on the other one.
I am able to load my site locally via local IP address or remotely via
public IP. However, I am unable to load the site via URL, locally or
remotely
My config file is as follows – the name of which is deletedforsec.us.conf
Maybe I'm missing something? a quick curl tells me : (6) Could not
resolve host: deletedforsec.us
me@mybox4:/$ whois deletedforsec.us
No Data Found
and dig gives me a NXDOMAIN
Where is your DNS server? You might want to sort that out before
refining +/- 'www' and 'https'
Or are you just being a tad paranoid in your website obfuscation and not
allowing this list to help you?
Paul
P.S. [Totally OFF-TOPIC for this list, apologies for the noise] the '04'
in Ubuntu release nomenclature means 'April', no more no less. A plain
"sudo do-release-upgrade" would have retained all of your previous "web
files and site config files..." that you say were working to your
satisfaction, so just restore your system from your backup of 23.04 and
then do the release-upgrade.
ServerName www.deletedforsec.us <http://www.deletedforsec.us>
<VirtualHost *:80>
ServerAdmin webmas...@deletedforsec.us <mailto:webmas...@deletedforsec.us>
ServerName deletedforsec.us <http://deletedforsec.us>
ServerAlias www.deletedforsec.us <http://www.deletedforsec.us>
DocumentRoot /var/www/html/deletedforsec.us <http://deletedforsec.us>
ErrorDocument 404 /404Error.shtml
<Directory /var/www/html/deletedforsec.us <http://deletedforsec.us>>
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride None
Order allow,deny
allow from all
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =deletedforsec.us
<http://deletedforsec.us> [OR]
RewriteCond %{SERVER_NAME} =www.deletedforsec.us
<http://www.deletedforsec.us>
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
```
I have disabled the default site (sudo a2dissite 000-default)
I have enabled the site I am working on (sudo a2ensite
deletedforsec.us.conf)
I have enabled url rewrite (sudo a2enmod rewrite)
I have enabled includes (sudo a2enmod include)
Can somebody please tell me where I have errored or what I need to do to
resolve this issue?
Thank You
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org