Score:0

Restricting one site under Wordpress as Private in AWS ALB

dj flag

I have configured multiple sites on WordPress and it is connected with internet-faced ALB under AWS.

Is it possible to restrict one site as private on ALB?

Remaining sites needs an public access.

Thanks in Advance.

Tim P avatar
af flag
Maybe/Kinda. You could configure a routing rule in the ALB setup that matches on the site's hostname (ex. www.example.com) and configure the rule to NOT send it to your backend server/service. Instead you could return a static response or send it elsewhere. This would prevent the ALB from forwarding that traffic to your WordPress site. If all of the sites use the same hostname with different, but consistent, paths you could also match on the start of the path to accomplish the same thing. For private access you would need a 2nd internal ALB. Assuming by private you mean internal to the VPC.
Tim avatar
gp flag
Tim
What do you mean "private access"? Do you want to restrict so visitors have to be in a given country, have a specific IP, login, or something else?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.