简体   繁体   English

在父AWS主域上创建的子域不起作用

[英]Sub Domain created on parent AWS main Domain not working

在此处输入图片说明 I need help to setup AWS Sub domain. 我需要帮助来设置AWS Sub域。 I have tried lot of option but no luck. 我尝试了很多选择,但没有运气。

I have main AWS domain (myDomain.com). 我有主要的AWS域(myDomain.com)。 I have created web application and deployed on Tomcat server with Apache proxy in front. 我已经创建了Web应用程序,并在前端使用Apache代理的Tomcat服务器上进行了部署。

I can access my applications using URL myDomain.com/app 我可以使用URL myDomain.com/app访问我的应用程序

As per Client request, I need to change URL from myDomain.com/app to app.myDomain.com. 根据客户的要求,我需要将URL从myDomain.com/app更改为app.myDomain.com。

I have created sub domain (app.myDomain.com) under my main domain (myDomain.com) but I am not able to access my application using URL app.myDomain.com. 我已经在主域(myDomain.com)下创建了子域(app.myDomain.com),但无法使用URL app.myDomain.com访问我的应用程序。

I tried to ping app.myDomain.com but it is saying Ping request could not find host app.myDomain.com. 我试图对app.myDomain.com进行ping操作,但它说Ping请求找不到主机app.myDomain.com。 Please check the name and try again. 请检查名称,然后重试。

Both my parent Domain and sub domain share same IP 我的父域和子域都共享相同的IP

Please have a look at screen shot attached? 请看所附的屏幕截图吗?

Normally AWS takes some time to update their name servers and for the full DNS propagation to happen when creating a new subdomain mapping. 通常,AWS需要一些时间来更新其名称服务器,并在创建新的子域映射时进行完整的DNS传播。

If its an update of a record set, it could also be the case even after DNS change propagation happens, web browser returns cached DNS entries. 如果更新记录集,则即使在发生DNS更改传播后也是如此,Web浏览器将返回缓存的DNS条目。

Note: The TTL values you set is important here which tells how longer yo cache the DNS entries. 注意:此处设置的TTL值很重要,它告诉您将DNS条目缓存多长时间。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM