Re:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 webmaster@xxxxxxxxxxxxxxxx <mailto:webmaster@xxxxxxxxxxxxxxxx>

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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux