How to get nested domains (i'm not sure what its called) in flask?
If I have a flask application such as
from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'hello'
which is running on myapp.com for arguments sake
how can I make the code also serve requests to chat.myapp.com
The Flask server does not handle subdomains. A subdomain points the client to a different web server, so Flask cannot adjust this. I do not believe there is a way to get sub-subdomains in Replit. If you happen to own myapp.com, then go to the domain management dashboard (GoDaddy or Google domains or something else) and do something there. Once you've done that, you can click the pencil in replit and follow the instructions like @ch1ck3n said.