Rewrite rule help

Does anyone know if it’s possible to rewrite a domain alias to another netlify domain in the same team?

I’ve currently got:

[[redirects]]
from = “https://www.vendors.my-domain.com
to = “https://my-other-domain.com
status = 200
force = true

It’s an SPA and also has this rule at the bottom.

[[redirects]]
from = “/*”
to = “/index.html”
status = 200

The page is blank and the network request fetches the resource but doesn’t load it into the page. Instead the original content is loaded into the page in the SPA.

Any advice or help ?? :blush:

@luke

Hi, @berni, that should be possible. What is the URL which should be redirected?

Also, do you want to proxy to this new domain (not changing the URL in the browser address bar) or do you want to 301 redirect to the new site?

@luke can we take this conversation offline. The site isn’t live yet and the URL here may get crawled at some point.

How can i contact you?

Bernie :slightly_smiling_face:

Hi, @berni, private technical support is limited to Pro or higher level plans.

For Starter plans, technical support is provided here in the Netlify community (which is public).

You can private message (PM) information here in community to one of our support staff and I’ve confirmed that PMs are enabled for your community login. Please also note that only one person can see the PM and this will likely mean a slower reply than posting the information publicly. Please feel free to reply to however you prefer though.

For example, if you PM me now, I won’t be able to reply before Sunday or Monday at the soonest. If you post publicly, one of my colleagues will (hopefully) be able to reply sooner.

Hi @luke I’ve posted the URL in the community on another post.

Could you take a look?

Bernie :wink:

@berni, i have closed this thread as there are multiple threads referencing the same thing you are working on and it is getting a little confusing… :slight_smile: