简体   繁体   English

如何在GoDaddy上为我的Python Flask应用配置设置

[英]How do I configure settings for my Python Flask app on GoDaddy

This app is working fine on heroku but how do i configure it on godaddy using custom domain. 此应用程序在heroku上运行良好,但如何使用自定义域在godaddy上进行配置。 When i navigate to custom domain, it redirects to mcc.godaddy.com. 当我导航到自定义域时,它将重定向到mcc.godaddy.com。 What all settings need to be changed. 所有需要更改的设置。

The solution is to add a correct CNAME record and wait till the value you entered has propagated. 解决方案是添加正确的CNAME记录,然后等到您输入的值传播为止。

Go to DNS management and make following changes: 转到DNS管理并进行以下更改:

In the 'Host' field enter 'www' and in 'Points to' field add 'yourappname.herokuapp.com' 在“主机”字段中输入“ www”,然后在“指向”字段中添加“ yourappname.herokuapp.com”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何配置 Python 以使用与我的计算机相同的代理设置 - How do I configure Python to use the same proxy settings of my computer 如何使用nginx和uwsgi配置基于Flask的python应用程序? - How do I configure a Flask-based python app using nginx and uwsgi? 我如何使用Windows防火墙配置python / flask进行公共访问 - how do i configure python/flask for public access with windows firewall 如何使我的 Haskell 功能在我的 Python Flask 应用程序中可用? - How do I make my Haskell functions available in my Python Flask app? 如何在 Flask 应用程序中实现 ReactJS 应用程序? - How do I implement a ReactJS app into my Flask app? 如何将 Flask 应用程序导入 Pytest 测试? - How do I import my Flask app into my Pytest tests? 如何使用MongoHQ和Heroku(Python)远程运行Flask应用程序 - How do I run my Flask app remotely using MongoHQ and Heroku (Python) 如何让我的 Python Flask 应用程序在 Ubuntu ec2 上连接到 Z62A94414B4591DCCABB762A9414B45946A - How do I get my Python Flask app on an Ubuntu ec2 to connect with a MySQL db with RDS? 我在本地有一个 python 应用程序,我试图在我的网页上与 flask 进行交互。 我该怎么做呢? - I have a python app locally that I am trying to interact with on my webpage with flask. How do I do this? 如何更新Flask应用程序的数据? - How do I update my Flask app's data?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM