Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Architecting Wordpress in AWS - ALB to EC2 Proxy to Wordpress Site
Post Flair (click to view more posts with a particular flair)
Post Body

I'm experimenting setting up Wordpress with this architecture:

  • Application Load Balancer (no waf right now) fronts a proxy.
  • Internally, a proxy acts as a link between the ALB and the Wordpress site.
  • Then there is the internal Wordpress site itself. Hosting the site files and plugins.

For now I've only configured Wordpress to use it's own internal dns name as URL. And everything seems to work fine.

When I configure the site_url and site_home in wp-config.php, I loose access to the wordpress admin site. The url changes to something akin to this:

https://example.wordpress.com/wp-admin/internal.dns.com/wp-login.php

And I'm unable to login to the site. My Wordpress config setup with this:

define('WP_HOME', 'internal.dns.com');
define('WP_SITEURL', 'internal.dns.com');

I'm not sure what I need to do to set the Wordpress site domain to the correct url (example.wordpress.com), while still having wp-admin functionality. Any advice is appreciated.

Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
34,354
Link Karma
3,056
Comment Karma
31,185
Profile updated: 2 days ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago