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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则