AWS LightSail Multi-Wordpress domain redirects to static-IP

0

Hello,

these are the steps I have completed:

  1. I have configured a multi-wordpress.
  2. For one of the instances I have configured an static-ip (for instance: 52.51.50.49)
  3. I have acquired a domain.
  4. In Route 53 I have added an A redirection to the static-ip
  5. In LightSail, under Networking, I have created a DNS Zone with the domain name.

I have let some time till all has been distributed and I have tested.

Test and result

When I enter the domain name in the navigator, for instance: domainname.com

the result is that it redirects it to: http://52.51.50.49.nip.io/wp-signup.php?new=domainname.com

the question is:

what I have not completed in the right way ??

many thanks in advance, joapen

joapen
asked 2 years ago1659 views
2 Answers
1
Accepted Answer

Hi, @joapen

You need to follow the steps below to configure the primary domain with configure_app_comain.

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-define-the-primary-domain-for-your-wordpress-multisite

By default, (yourip) .nip.io is automatically set by the IP address tracking function.
The above procedure will stop automatic IP tracking and set the custom domain you specified.

profile picture
EXPERT
iwasa
answered 2 years ago
profile picture
EXPERT
reviewed a month ago
  • Hi Iwasa, I had the same problem so followed the article you posted. First part of setting as primary domain, no problems. Second part, the command sudo mv bnconfig bnconfig.disabled returned "no such file or directory". Any insights? Thanks!

  • Thank you so much. This worked and really helped.

0
answered a year 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.

Guidelines for Answering Questions