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
gefragt vor 2 Jahren1679 Aufrufe
2 Antworten
1
Akzeptierte Antwort

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
EXPERTE
iwasa
beantwortet vor 2 Jahren
profile picture
EXPERTE
überprüft vor einem Monat
  • 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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen