nginx - Nginx添加新站点的子域无效
问题描述
解决方案
Did you point your subdomain to the Droplet ip-address ?
first thing you've to do is to point your subdomains to the single ip address via your DNS provider (A, CNAME).
I think that's why you are getting error:
Safari can’t open the page “http://rc.myserver.com” because Safari can’t find the server “rc.myserver.com”.
point rc.yourserver.com
to Droplet IP address :)
推荐阅读
- android - 访问整个 Xamarin 应用程序的文件夹
- c - 摆脱 IAR 编译警告 Pa039 ?“使用未对齐结构成员的地址”
- azure - 如何通过电子邮件发送来自 Azure Blob 的文件内容
- vba - 如何修复 Excel-2016 未运行 Excel-2010 VBA 代码以正确打印?
- windows - 如何在正在运行的进程上批处理或 cli 自动化 sigcheck.exe?
- c# - 覆盖 asp 网络表单操作
- python - python OOP 类方法保留变量。奇怪的范围界定
- html - 滚动时带有子菜单下拉的水平 CSS 菜单未对齐
- javascript - 在滚动时,“粘性元素”需要在“页脚区域”之前而不是在页面底部
- c - 将函数作为参数传递,带和不带 & 号 c