Score:0

Cannot access my website with the custom domain name when using VPN

cn flag

I developed a website and deployed it using EC2 on AWS and redirected the domain name which I bought from domain.com to the EC2 IP address with Route 53. The site is accessible when I'm not using VPN. However, when I start using the VPN, I cannot access the website and redirect to a page that shows the site is under development. How can I fix this problem? Many thanks!!
The picture is the records of my R53 hosted zone
I also have added the values which generate by the AWS to the nameservers of domain.com. The domain name was bought last year and started using it from June.

Information of ip and nslookup:
(1) website ip: 18.222.135.126
(2) domain name: weiyipeng.com
(3) nslookup with VPN off: 18.222.135.126
(4) nslookup with VPN on: 240.0.0.6

Tim avatar
gp flag
Tim
Hard to say with the information provided. Can you please edit your post to include 1) The domain name 2) Website IP 3) nslookup of the domain without the VPN 4) nslookup with the VPN turned on. If you do all that you might work the answer out yourself, if you do please answer your own question below.
Yichong Chen avatar
cn flag
Hi Tim, thanks for the comment. I update the post with the information you required. Apparently, the nslookup with VPN on map to a reserved ip address.
Tim avatar
gp flag
Tim
Oddly enough, when I use mxtoolbox to search for your website the IP returned is 66.96.162.130 ( https://mxtoolbox.com/SuperTool.aspx?action=a%3aweiyipeng.com&run=toolpage ). Something odd is happening with your DNS. I suggest you look into DNS, if you need help update your post with as much info as you can, particularly which servers are being queried for DNS, then comment if you want me to know the post has changed.
Score:1
cn flag

The domain.com set two extra nameservers in default, which are serve in Europe and Asia. When I use the VPN based in Europe it will map to the domain.com nameserver which nslookup is start with 66.*. After I delete these two nameservers, everythings work fine. Thanks to Tim for the hints.

Tim avatar
gp flag
Tim
Good to see you worked it out :)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.