How to recover my site

yep i also need to redirect from http to https how? or what way u think is the best?

This depends on you…
Technically, you have four sites:
http://pagesmade.com
http://www.pagesmade.com
https://pagesmade.com
https://www.pagesmade.com

And you should gather them all into just one of the https sites.
So first forward http to https:
http://pagesmade.com >>> https://pagesmade.com
http://www.pagesmade.com >>> https://www.pagesmade.com

Then decide if you want the WWW or not.
If you do want it use it, forward to it:
https://pagesmade.com >>> https://www.pagesmade.com
If you don’t want to see it, forward away from it:
https://www.pagesmade.com >>> https://pagesmade.com

so how do i do it? in order to redirect.

Start by modifying the http vhost configs add a redirect them to https.
With something like:
RewriteEngine On
RewriteRule ^\.well-known\/acme-challenge\/ - [L]
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

vhost config on the etc/apache2/ports.conf file?

Probably in the /etc/apache2/sites-enabled/???????.conf file
[I don’t know the name of the vhost files you are using]

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