Redirect traffic from old domain not working

Hi everyone… newbie to webflow here.

We are trying to launch our site on webflow and running into an issue.

We originally had our marketing site and our app hosted on one server on AWS. Now, we are moving www.mysite.com to webflow while keeping the login and signup page on the app (e.g. app.mysite.com/signup or /login)

But we have some users that have the www.mysite.com/login saved and we want to redirect www.mysite.com/login to point to app.mysite.com/login because the root site is now on webflow and the user would need to go to the app . mysite.com/login server to login.

I tried to use the 301 redirect in feature in webflow but it didn’t work, here’s what I had

Of course this didn’t work. I’m trying to figure out what to do next, any ideas?

The crazy part is that www.mysite.com/login is redirected to www.mysite.com

I wouldn’t be doing this redirect on the app.mysite.com server via apache file, correct?

Hi @Mlatif,

What you are trying to do will not work in Webflow. As it is setup to work with the site itself not subdomains. To redirect subdomain traffic you must use the DNS properties on your Domain Name Register.

I added the redirects and it seems to be working

Here’s what I did (see image below). Now traffic coming from www.mysite.com/login and /signup is being redirected to app.mysite.com/login.

Am I missing anything?

1 Like

Hi @Mlatif, the redirects look correct, there are basically two things here:

  1. The domains you are redirecting from should be pointed at Webflow and connected on the hosting tab

  2. The new url path for an external url needs the https://, which in the first example was missing.

Glad to hear the issue is solved, thanks for sharing the solution.

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