- netlify site name
- I have purchased and configured tradingpnl.in. Can I have an auto redirect from tradingpnl.netlify.app to tradingpnl.in?
Welcome to the forums @pkvpraveen
Indeed you can. Have a look at Domain-level redirects in Netlify docs for details and example.
Your suggestion was very helpful. I configured the redirect like this
[[redirects]] from = "https://tradingpnl.netlify.app" to = "https://tradingpnl.in" status = 301 force = true
You’d probably need to make it like:
[[redirects]] from = "https://tradingpnl.netlify.app/*" to = "https://tradingpnl.in/:splat" status = 301 force = true
So you can get other URLs too.