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
已提問 2 年前檢視次數 1679 次
2 個答案
1
已接受的答案

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
專家
iwasa
已回答 2 年前
profile picture
專家
已審閱 1 個月前
  • 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
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南