Railway redirects to HTTPS from HTTP instead of going straight to HTTP
For some reason when I write my website's url (with a custom bought domain), it goes to HTTP, then gets 301 from railway and redirect to HTTPS.
How can I change it so the link will go straight to HTTPS?
link example:
1. I write domain.com
2. The URL leads to http://domain.com
3. Then redirect to https://domain.com
Website Domain Names, Online Stores & Hosting
Finding the perfect website domain is as easy as 1-2-3. Buy a domain name, build and host a website, and enjoy our professional online marketing tools.
Website Domain Names, Online Stores & Hosting
Finding the perfect website domain is as easy as 1-2-3. Buy a domain name, build and host a website, and enjoy our professional online marketing tools.
7 Replies
Project ID:
N/A
N/A
Does it still do that when you're in an incognito window?
I don't see it on my own, but bots like google search console, meta sharing debugger shows the following:
well of course if you visit the site via http you're gonna get redirected to https
I enter the url without writing HTTP. Look at the example I gave above
most browsers will try to visit via http if not specified, I assure you this is normal and default behaviour, nothing incorrect is happening here