SSL not enabled

Keywords: WordPress - AWS - Technical issue - Secure Connections (SSL/HTTPS)

bnsupport ID: 1dc1e512-e0c7-c898-d6aa-c112896c4a28

bndiagnostic output:

? Apache: Found possible issues
? Resources: Found possible issues
? Connectivity: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/administration/use-pagespeed/#disable-pagespeed
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/
https://docs.bitnami.com/bch/apps/moodle/troubleshooting/deny-connections-bots-apache/
https://docs.bitnami.com/installer/faq/linux-faq/administration/increase-memory-linux/
https://docs.bitnami.com/general/faq/administration/use-firewall/

bndiagnostic failure reason: Other

Description:
We create custom domain myapp.runloyal.com. Tried to configure SSL and tried after refferred this https://docs.bitnami.com/virtual-machine/infrastructure/lamp/configuration/configure-custom-application/ . But still the site showing as unsecured

Hello @alexander.k,

It seems that when accessing via https it gets redirected to www.YOURDOMAIN.com. However, it does not point to your instance, as you can see with this tool:

https://www.whatsmydns.net/#A/

If you want to serve it with www, you will need to update your DNS configuration.

I hope it helps

No we dont want it with www…please help us to use https with non www

Hi @alexander.k.

This documentation explains how to redirect www to non-www
https://docs.bitnami.com/aws/apps/wordpress/administration/redirect-custom-domains/#redirect-wwwmyappexamplecom-to-myappexamplecom-125

I hope it helps

Hi @davidg thanks for your response… We tried the steps mentioned in the above link but the issue is not resolved yet

Hello @alexander.k,

Please send us a new support tool output in order to check your latest changes.

Regards

HI @davidg This is our new support tool output …Please help us to resolve the issue

Hi @alexander.k,

I think you forgot to send the new support tool ID.

Regards

hi @davidg this our new support tool output 81709c32-99c6-8bb1-53f1-3737b0988a82

Hello @alexander.k,

I can access your site. Using the command below, you could see you get redirected to www and https:

curl -LI YOUR_DOMAIN.com

Change YOUR_DOMAIN placeholder with your current domain.

Regards

yes i dont want www redirection at all @davidg

Hello @alexander.k,

Your site is working properly with www.YOUR-DOMAIN.com. However, if you don’t want to use it, you would need to change every occurrence of www.YOUR-DOMAIN.com to YOUR-DOMAIN.com from your /opt/bitnami/apache2/conf/bitnami/bitnami.conf and /opt/bitnami/apps/wordpress/conf/httpd-vhosts.conf files. Then, restart the apache service.

Regards

Are we talking about myapp.runloyal.com? @davidg… we dont want to redirect www for myapp.runloyal.com

Hi @alexander.k

No, I mean your main domain (without myapp.). You modified Apache conf files and are redirecting to www with these lines:

RewriteRule ^(.*)$ https://www.DOMAIN.com$1 [R=301,L]
...
RewriteRule "^/(.*)" "https://www.DOMAIN.com/$1" [R,L]
...
ServerName www.DOMAIN.com

Since you don’t want to be redirected to www, you need to remove www from those lines and restart apache. Other wise, apache will redirect it to www.

Regards

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.