1

I deployed my website on aws. I have added the certificate to my godaddy domain so that pages gets redirected to website. But wherever I have directory its not opening. For example:

www.example.com

www.example.com/index.html

above 2 links opening with no issues.

but www.example.com/abc/index.html

This is not opening. But its opening with AWS elasticbeanstalk link.

Can you please help

Anuj Gupta
  • 37
  • 1
  • 4
  • Could you provide more information? How is your DNS configuration set up? How is your ssl set up? How is your infrastructure in aws set up (Ec2, alb etc). – Alex Bailey Jan 14 '21 at 22:16
  • My site is www.rankbazaar.com/index.html . If you go to https://www.rankbazaar.com/sports/news-201809142003240002-James-Foster-bids-adieu-to-Essex.html this is not working. But when you go to http://rb-env.eba-qmrq7pid.ap-south-1.elasticbeanstalk.com//sports/news-201809142003240002-James-Foster-bids-adieu-to-Essex.html its not working – Anuj Gupta Jan 14 '21 at 22:29
  • I added SSL/TLS certificate in AWS. I added CNAME in my GO Daddy Manage DNS. While adding certificate I gave *.ranbazaar.com. Then added these cname settings to my DNS. Infrastructure is EC2 – Anuj Gupta Jan 14 '21 at 22:34
  • What is the double forward slash in the elb url for? Could that suggest some broken configuration somewhere? You wouldn't usually see that in url. Do you run something like nginx, apache2 or similar? Have you configured the host etc there? – Alex Bailey Jan 14 '21 at 22:39
  • Also, what does your cname look like? – Alex Bailey Jan 14 '21 at 22:40
  • You can remove double url. Thats fine. I am running on tomcat. http://rb-env.eba-qmrq7pid.ap-south-1.elasticbeanstalk.com/sports/news-201809142003240002-James-Foster-bids-adieu-to-Essex.html – Anuj Gupta Jan 14 '21 at 22:42
  • It appears to work without ssl so I'd suggest you may have some incorrectly configured settings on tomcat. You'd normally need to set your ssl config in tomcat I think. I've never personally used it though. – Alex Bailey Jan 14 '21 at 22:42
  • It would appear there's something that needs setting up there like a connector or something? – Alex Bailey Jan 14 '21 at 22:45
  • https://www.digicert.com/kb/csr-ssl-installation/tomcat-keytool.htm step 2 here says something. I'm not sure if that's correct or not but may be worth checking. – Alex Bailey Jan 14 '21 at 22:45
  • But nothing working for now – Anuj Gupta Jan 15 '21 at 03:09

0 Answers0