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
demandé il y a 2 ans1679 vues
2 réponses
1
Réponse acceptée

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
répondu il y a 2 ans
profile picture
EXPERT
vérifié il y a un mois
  • 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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions