python - Custom domain routing to Flask server with custom domain always showing in address bar -


i have small home-server running flask set @ ip a.b.c.d. have domain name xyz.com.

now when going xyz.com, user served content a.b.c.d, xyz.com still showing in address bar. similarly, when going xyz.com/foo content a.b.c.d/foo should shown, xyz.com/foo showing in address bar.

i have path forwarding activated @ domain name provider, xyz.com/foo correctly forwarded a.b.c.d/foo, when going there a.b.c.d/foo shown in address bar.

i'm running tornado, can switch server if necessary.

is possible set kind of solution? or option buy kind of hosting?

i managed solve myself, i'll add answer since evidently thought worthwhile question.

it turns out me did not understand how dns works , difference between dns , domain forwarding is. @ domain hosts can configure "domain forwarding", sounds precisely need not. rather, simple usecase above, went dns zone records in options , created dns zone record type pointed xyz.com a.b.c.d. change not seem have propagated entirely yet, on devices can see working how want to, consider issue resolved.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -