首页 > 解决方案 > Nginx添加新站点的子域无效

问题描述

标签: nginxdigital-oceannginx-config

解决方案


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”.

enter image description here

point rc.yourserver.com to Droplet IP address :)


推荐阅读