Forums

Catching subdomain shows "Coming Soon"

from flask import Flask, render_template, request, url_for, redirect, jsonify from database import DatabaseController app = Flask(name) app.config['SERVER_NAME'] = 'guvenlipartnerlikhizmeti.com'

@app.route("/", subdomain='<subdomain>') def home(subdomain): return f"{subdomain}"

if name == "main": app.run(debug=True)

here is my code and when I try to visit my page with the subdomain I created in my domain provider, I get the message as "Coming Soon". If I visit my website using "www" it shows this as subdomain but apart from it, it alway shows "Coming Soon"

If you do not have a web app at a paricular domain, then you will get the "Coming soon" page.