Deploying my app to vercel appends /landing to my app when connected to domain
Answered
Yellow croaker posted this in #help-forum
Yellow croakerOP
so my app with the root being / after deployment on the vercel domain is correct but when i visit my domain it appends /landing to the url and thus returns a white screen, does anyone know why this is happening ? im using vercel DNS
Answered by riský
i think you may have a 301 cached on your device as it works for me :)
or some caching going on for you (ie dns) - so try to flush all of that and try again!
or some caching going on for you (ie dns) - so try to flush all of that and try again!
67 Replies
@Yellow croaker so my app with the root being / after deployment on the vercel domain is correct but when i visit my domain it appends /landing to the url and thus returns a white screen, does anyone know why this is happening ? im using vercel DNS
i think you may have a 301 cached on your device as it works for me :)
or some caching going on for you (ie dns) - so try to flush all of that and try again!
or some caching going on for you (ie dns) - so try to flush all of that and try again!
Answer
if you go to dev tools -> network ->
-# the disable cache should make it forget the 301 if thats the issue
disable cache -> try to access root again, does it show redirect?-# the disable cache should make it forget the 301 if thats the issue
Yellow croakerOP
how can i get rid of that i removed the site data ?
yes still redirs
just wondering which status code is it tho? and is there any useful headers (ie does it say vercel and anything more)
i just cant see why yours is being weird but mine is fine
Yellow croakerOP
ah ok maybe enable "preseve logs" to show it
Yellow croakerOP
even treied on private tab
returns 200
what about a whole diferent browser (that you havent accessed this before with)
@Yellow croaker returns 200
i mean for "lander" it makes sense for 200, but the redirect to there is weird part
Yellow croakerOP
UHHH what is this doing
Yellow croakerOP
chrome does this
did you like only just get this domain
ok sorry that i know nothing of this issue as its so weird, but i think i have to sleep now - so i hope you can work this out 🙏
Yellow croakerOP
yea
today
no stress thanks for the help
@Yellow croaker chrome does this
American Chinchilla
You need to look up forwarding
If you didnt already do so
Go daddy forwarding
@Yellow croaker today
i can only think some wacky cache is going on - like maybe dns for chrome and idk for brave
@Yellow croaker Click to see attachment
tho can you send ss of headers for root
@American Chinchilla You need to look up forwarding
Yellow croakerOP
oh okay forward to my domain ? or vercel app ?
@riský tho can you send ss of headers for root
-# (i just want to see if it has anything vercel lol)
American Chinchilla
Yes go daddy has an option to forward your domain
The domain in this case is whatever your vercel app domain is
Its basically a “redirect”
@American Chinchilla Yes go daddy has an option to forward your domain
is this like worse cloudflare proxy?
American Chinchilla
i never used cloudfare
But if you just search up “go daddy forward domain”
You will find a guide on it provided by go daddy.
Yellow croakerOP
Thank you im pretty sure this is the issue let me try and ill get back to you @American Chinchilla
@Yellow croaker chrome does this
ohhh this also has /lander
i understand this now
either its remembering that - or brave is blocking all the "ads" on the page
either way you should clear/flush your dns or wait some time
the go daddy forwarding may work because it could use same ip - but im not sure if its worth adding latency to every request
Yellow croakerOP
ill clear dns now
i still dont like how it redirects to landing with 200...feels so bad
Yellow croakerOP
I KNOW
i always have hated go daddy, and this proves it even more
Yellow croakerOP
why ?
what domain site do you use ?
their over pricing, scam tactics, things like this, up selling basic features... this is why i use cloudflare domains (used to like google domains but they squarespace now) or spaceship as its namecheep but actually cheaper
dont bother changing now, just note that there are only a few reasons when i would want go daddy - ie some gtlds (like .com.au) that isnt very common
Yellow croakerOP
ahh okay
shit
btw did the dns flush work?
Yellow croakerOP
nope
(also i personally use DoH on browser so the disable cache also removes that too)
Yellow croakerOP
oooh okay
@Yellow croaker oooh okay
so whats the news
Yellow croakerOP
im trying
internet is really slow ATM
ah ok
:(
Yellow croakerOP
Could it not be a setting in vercel ?
well it works on my laptop and lots of other web besting things
so its just you locally it seems like
Yellow croakerOP
my GF gets the godaddy thing
working now
i donno what it was maybe just needed time to go through DNS
@Yellow croaker working now
YAY congrats!