Back to Blog
December 2, 2026·10 min read

Running WordPress on Azure for Enterprise: 6 Things to Clarify First

When hosting WordPress on Azure for an enterprise, it is recommended to clarify six key aspects—including hosting type, database placement, entry protection, and responsible parties—before development or maintenance begins.

Simplest setup: one VM plus one machine account (architecture diagram) Hosting WordPress on an enterprise's own Azure environment is usually driven by security, auditing, or corporate compliance requirements rather than technical preference. In these cases, WordPress itself is just one piece of the puzzle; the hosting architecture, database setup, entry protection, and access control on Azure are what truly determine whether ongoing maintenance goes smoothly.

For maintenance vendors taking over, the simplest approach is deploying a single Virtual Machine (VM) to host the website, database, and media files, paired with a service account provided by the client. This article outlines six essential points to clarify using this approach, contrasting it with Microsoft's App Service. We recommend discussing these with IT and vendors before starting development or taking over maintenance.

1. Determine the Hosting Type First

The simplest setup is hosting it yourself on a Virtual Machine (VM): one machine, one account, with the site, database, and images all in one place, offering maximum flexibility. The trade-off is that OS, PHP, and web server updates, backups, and staging environments must all be handled manually.

According to the Microsoft Azure Architecture Center, the reference architecture for small-to-medium WordPress sites is App Service. Sites with exceptionally large file storage needs might use containers (AKS) instead, but since most corporate websites don't require this, we won't cover it here.

TypeBest ForThings to Note
VMSimple access and full control over the environmentOS and PHP updates, backups, and staging must all be managed manually
App ServiceSmall-to-medium corporate sites seeking a fully managed platformWordPress templates only support Linux; the platform auto-updates Linux, PHP, and NGINX; includes built-in Staging slots; database and images are managed separately, requiring more services to oversee

Selecting the hosting type directly impacts how staging, backups, and maintenance responsibility are handled, which is why it comes first.

App Service Free and Basic tiers have limited performance and are not suitable for high-traffic sites—a restriction officially documented by Microsoft.

2. Where to Store the Database and Files

The VM approach is straightforward: the website, database, and images reside on the same machine, eliminating the need for a separate database server or cloud object storage.

The trade-off is in backup management. Because everything is on one machine, backups must be saved externally, covering both the database and files, with regular restore tests. As mentioned in our previous article, an untested backup is merely a theoretical one.

Compared to App Service: Microsoft's reference architecture separates data and storage. The website runs on App Service, the database uses Azure Database for MySQL Flexible Server connected via private endpoints, static media files are stored in Azure Blob Storage, and caching can be handled by Azure Managed Redis. The benefit is independent management of each service; the trade-off is having more components to monitor.

3. Entry Points and Security

For a VM architecture, key questions are: which network ports are exposed to the internet, and who manages the firewall rules?

For App Service, the official architecture routes requests through Azure Front Door with Web Application Firewall (WAF) enabled before forwarding to WordPress. While Front Door's cache can serve cached content during temporary host outages, Microsoft notes it does not replace a comprehensive high-availability design.

Regardless of the setup, two questions must be answered: Who configures the entry point, and who maintains the protection rules?

4. Who Gets Maintenance Access?

The simplest approach: the client creates a dedicated machine account for the vendor, restricts permissions, retains the ability to disable it anytime, and logs login sessions. The vendor avoids creating backdoor accounts and submits reports after maintenance.

It is recommended to document the following clearly during discussions:

Account Creation

Created by the client, specifying which machine it applies to and its exact username.

Scope of Permissions

Granted only for necessary maintenance operations, with all actions and logins logged.

Account Revocation

Who disables the account, and within what timeframe after maintenance is completed.

5. Test in Staging Before Deploying to Production

Staging and Live: code changes go to Live, data is copied to Staging

The standard workflow: copy the database and files from production to staging, perform updates and testing in staging, and once verified, deploy only code changes to production. Finally, verify functionality on the live production site.

Always remember the data flow direction: Production continuously generates new live data (forms, orders, user accounts), so data flows from production to staging. Never overwrite production with a full staging database dump. Always backup production before updating, as it serves as your rollback recovery point.

VMs do not have built-in staging environments and require setting up a separate staging site manually. App Service features built-in deployment slots, allowing seamless testing in an isolated environment before swapping to production.

6. Expiration Dates and Responsible Parties

The final category covers easily overlooked operational tasks. List them out and assign an owner to each item:

ItemKey Details to Confirm
HTTPS CertificateExpiration date, renewal responsibility
Domain & DNSDomain registrar, DNS management owner
Backup & RestoreBackup frequency, retention period, date of last restore test
System UpdatesWho updates WordPress core, plugins, and PHP, and at what frequency
Incident ManagementEscalation workflow during anomalies, who holds authority to take the site offline

In short: When running WordPress on Azure for enterprise, clarify the hosting architecture, account access, and responsible parties before discussing features. If these three points are left undecided, ongoing maintenance will constantly stall waiting for approvals.

Sources

Want this on your project?

From scoping the problem to shipping it — Heiso consultants take it from here

Schedule a chat →

Related Articles