Level 5
The problem was not in Forge, i should add www A Record to my domain dns
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
Recently I deployed my website with Laravel Forge.I check the website with seo tools i get this error:
Use 301 redirects to drive traffic to URLS with the same domain and sub domain (www and non-www subdomain).
the problem is my website with http://www.filator.com and https://www.filator.com I get this error:
This site can’t be reached
The website just work if you hit this link: https://filator.com
so i add to Nginx Configuration this configs
server {
listen 80;
server_name filator.com www.filator.com;
return 301 https://filator.com$request_uri;
}
Still not working, My point is to redirect all versions of domain to this: https://filator.com
examples:
https://www.filator.com/about => https://filator.com/about
http://www.filator.com/about => https://filator.com/about
http://filator.com/about => https://filator.com/about
https://filator.com/about => https://filator.com/about
How to solve this problem please.
The problem was not in Forge, i should add www A Record to my domain dns
Please or to participate in this conversation.