Skip to content

The link between my site and server has been broken, which occurred during the SSL certification process.

0

I'm using an SSL certificate for my domain, https://aiaii.site, which has been working well. Recently, I created an additional subdomain, cointrading.aiaii.site, and attempted to add SSL certification for it as well. However, during this process, my main site connection was interrupted, and now I can't access the site, including the admin area.

The main domain is aiaii.site, and the subdomain I tried to add SSL for is cointrading.aiaii.site. After attempting to add the SSL certificate, the main site became inaccessible. I'm a beginner with backend management. Can you help? I'm currently using WordPress Multisite on Amazon Lightsail.

asked 2 years ago188 views

1 Answer
0

I understand you're experiencing issues with your WordPress Multisite setup on Amazon Lightsail after attempting to add an SSL certificate for a subdomain. This is a challenging situation, but let's try to address it step by step.

  1. First, it's important to note that when using Amazon Lightsail with WordPress, SSL/TLS certificates are typically managed through Lightsail's load balancers, not directly on the WordPress instance. If you were trying to add the certificate directly to your WordPress instance, this could have caused the issue.

  2. For Lightsail WordPress instances, the recommended way to enable HTTPS is by using the Bitnami HTTPS configuration tool (bncert). This tool automates the process of requesting and installing SSL/TLS certificates from Let's Encrypt.

  3. If you've inadvertently made changes that have broken your site's connection, you may need to revert to a previous snapshot of your instance if you created one before making these changes.

  4. To fix the current issue and properly set up SSL for both your main domain and subdomain:

    a. Ensure you have a static IP attached to your Lightsail instance. b. Verify that your DNS settings are correctly pointing to this static IP for both aiaii.site and cointrading.aiaii.site. c. Use the bncert tool to configure HTTPS for both domains simultaneously. You can do this by running the command sudo /opt/bitnami/bncert-tool in your Lightsail instance's terminal. d. When prompted, enter both your primary domain and subdomain separated by a space.

  5. The bncert tool will handle the certificate request, validation, and installation process for both domains. It will also configure the necessary redirects from HTTP to HTTPS.

  6. If you're still unable to access your site after following these steps, you may need to check your WordPress configuration files for any incorrect settings that might be preventing access.

Remember, when working with SSL certificates and server configurations, it's always a good idea to create a snapshot of your instance before making changes. This allows you to easily revert if something goes wrong.

If these steps don't resolve your issue, you may need to contact AWS Support for more detailed assistance with your specific Lightsail configuration.
Sources
Secure your WordPress site with HTTPS on Lightsail - Amazon Lightsail
Certificates - Amazon Lightsail
Launch and configure a WordPress instance on Lightsail - Amazon Lightsail

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.