New domain and more woes

In that case...

Put the following into /etc/apache2/sites-available/hardcoregames.ca.conf :

<VirtualHost *:80>
ServerName www.hardcoregames.ca
ServerAlias hardcoregames.ca
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
</VirtualHost>

Run the following:

sudo a2dissite 000-default.conf
sudo a2dissite 000-default-le-ssl.conf
sudo a2ensite hardcoregames.ca.conf
sudo apachectl -k graceful
sudo rm /etc/apache2/sites-available/000-default.conf
sudo rm /etc/apache2/sites-available/000-default-le-ssl.conf
sudo certbot delete --cert-name hardcoregames.ga
sudo certbot delete --cert-name www.hardcoregames.ga
sudo certbot run --cert-name hardcoregames.ca --apache --keep

Change the DocumentRoots in hardcoregames.ca.conf and hardcoregames.ca-le-ssl.conf as needed. Be sure to run sudo apachectl -k graceful after changing them.

2 Likes

reason i moved the site was to be able to run multiple sites from one server

not sure how many sites i can run on 250GB SSD but wordpress is pretty lean and mean

given certbot is able to make certificates as needed I can now host sites that need a developer on them

2 Likes

I was able to remove some of the files from a folder but fail with others

chmod 777
chown

so it seems that something is preventing from removing the old content

the default permalinks are working, .htaccess AFAIK is fine but any change to the permalinks is failing

need to figure out this so i can mechanize it once my logic is known

permalinks are a problem anything but the plain are 404

apache rewrite is on, made a new .htaccess which seems to be ok

GNU nano 4.8 .htaccess
AccessFileName ".config"


# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.

# END WordPress

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.