Custom Domain Binding
WordPress Custom Domain Binding
Purchase a Custom Domain
1Register the domain
Before binding a custom domain to WordPress, purchase the required domain name from any preferred domain registrar.
The custom domain will become the public address used to access the WordPress website instead of the default domain assigned by the platform.
Create DNS Records
After the domain is registered, create DNS records that point the domain to the public entry points of the WordPress application.
1Find the public IP addresses
Identify the public IP address of every load balancer or application entry point that should receive requests for the custom domain.
2Create A records
At the domain registrar or DNS provider, create an A record for each endpoint and point the custom domain to the corresponding public IP address.
- If load balancers are horizontally scaled, add the public IP address of every newly created load balancer as another A record under the same custom domain.
- For multi-region WordPress deployments, create A records for all entry points in every region.
Issue an SSL Certificate
After DNS records point the domain to the WordPress environment, issue an SSL certificate so the website can be accessed securely through HTTPS.
1Open the load balancer add-ons
For a WordPress cluster, open the Add-Ons tab for the load balancer layer and locate the Let’s Encrypt Free SSL add-on.
2Configure the custom domain
Click Configure, replace the platform-generated domain with the custom domain name, and click Apply to request a valid SSL certificate.
Update the WordPress Site URL
Once the domain and SSL certificate are ready, update the WordPress site address so WordPress itself uses the new custom URL.
1Open application-server add-ons
At the application-server layer of the WordPress environment, open the Add-Ons tab and locate WordPress Site Address (URL).
2Enter the new Site URL
Click Site URL, enter the new custom domain with the required protocol, and apply the configuration.
DNS Round-Robin Behavior
If several A records point the same custom domain to multiple WordPress entry points, standard DNS resolution returns the registered addresses using DNS Round-Robin behavior.
dig your-custom-domain.example +short 203.0.113.10 203.0.113.11
After the configuration is complete, use the custom domain for both the public WordPress website and the WordPress administration panel.
