|
| 1 | + |
| 2 | +--- |
| 3 | +title: 'Frequently asked questions about WordPress on App Service' |
| 4 | +description: Questions and answers about WordPress on Azure App Service. |
| 5 | +keywords: app service, azure app service, wordpress, preview, app service on linux, plugins, mysql flexible server, wordpress on linux, php |
| 6 | +author: msangapu-msft |
| 7 | +ms.topic: overview |
| 8 | +ms.date: 11/26/2024 |
| 9 | +# ms.devlang: wordpress |
| 10 | +ms.author: msangapu |
| 11 | +ms.custom: mvc, linux-related-content |
| 12 | +--- |
| 13 | +# WordPress on Azure App Service: Frequently Asked Questions (FAQ) |
| 14 | +## Are there limits on the number of sites, visits, storage, or bandwidth? |
| 15 | +The allocated resources for an App Service Plan and Database Tier determine the hosting capacity. For example: |
| 16 | +- **App Service B1 Plan:** Includes 1 core, 1.75 GB RAM, and 10 GB storage. |
| 17 | +- **Database B1ms Instance:** Offers 1 vCore, 2 GB RAM, and storage up to 16 GB. |
| 18 | +There's no fixed limit on the number of sites you can host, but recommended app limits by SKU are: |
| 19 | +| **SKU** | **Recommended Max Apps** | |
| 20 | +|--------------------|---------------------------| |
| 21 | +| B1, S1, P1v2, I1v1 | 8 | |
| 22 | +| B2, S2, P2v2, I2v1 | 16 | |
| 23 | +| B3, S3, P3v2, I3v1 | 32 | |
| 24 | +| P1v3, I1v2 | 16 | |
| 25 | +| P2v3, I2v2 | 32 | |
| 26 | +| P3v3, I3v2 | 64 | |
| 27 | +Bandwidth is unlimited, but charges apply for internet egress. |
| 28 | +## How are security patches updated? |
| 29 | +Azure manages security patches for core technologies, while WordPress-specific updates may require manual or semi-automated steps: |
| 30 | +- **PHP Major Versions:** Update manually under **App Service > Settings > Configuration**. |
| 31 | +- **WordPress Core:** Minor updates are automatic, while major updates need manual configuration. |
| 32 | +- **Plugins and Themes:** Perform manual updates after backing up your site to avoid issues. WordPress also offers autoupdate options. |
| 33 | +## What security features are available to protect my website? |
| 34 | +Azure App Service integrates robust security features to safeguard WordPress sites: |
| 35 | +- **App Service Security:** HTTPS, IP restrictions, certificates, authentication, and network isolation. |
| 36 | +- **Easy Authentication:** Built-in identity provider integration with minimal effort. |
| 37 | +- **Database Security:** Advanced protections for Azure MySQL servers, including encryption and backup capabilities. |
| 38 | +- **Virtual Network (VNET):** Secure communication between Azure resources, the internet, and on-premises networks. |
| 39 | +- **Managed Identities:** Credential-free access to resources using Microsoft Entra tokens. |
| 40 | +- **Defender for Cloud:** Proactive threat detection with DevSecOps integration. |
| 41 | +- **Azure Key Vault:** Secure storage for keys, secrets, and certificates. |
| 42 | +- **Microsoft Entra ID:** Single sign-On (SSO) for seamless authentication. |
| 43 | +## How can I set up WordPress Multisite? |
| 44 | +WordPress Multisite allows managing multiple sites from a single installation. To enable: |
| 45 | +1. Set up a **subdirectory-based Multisite** or **subdomain-based Multisite**. |
| 46 | +2. Follow [guides for configuration](#). |
| 47 | +**Important Notes:** |
| 48 | +- Conversion to Multisite is permanent; reverting to a single site is unsupported. |
| 49 | +- Switching between subdirectory and subdomain setups isn't allowed. |
| 50 | +## How do I access my WordPress website's database? |
| 51 | +The database can be accessed using **phpMyAdmin** at: |
| 52 | +`https://<your-site-link>/phpmyadmin` |
| 53 | +Use the `DATABASE_USERNAME` as the username and a generated token as the password (tokens can be retrieved via **Kudu SSH**). |
| 54 | +## How do I enable a custom domain for my WordPress website? |
| 55 | +Custom domains can be set up with these resources: |
| 56 | +- [Using custom domains with WordPress on Azure App Service](#) |
| 57 | +- [Configuring custom domains with Azure Front Door](#) |
| 58 | +## Does WordPress on App Service have email functionality? |
| 59 | +Yes, email functionality is supported through **Azure Communication Services**. Custom email domains can be configured using [these guides](#). |
| 60 | +## How can I update NGINX configurations for my WordPress website? |
| 61 | +NGINX configurations can be updated using a **startup script**. Detailed instructions are available in the [startup script guide](#). |
| 62 | +## How can I access error logs for my WordPress website? |
| 63 | +Access error logs for debugging via **App Service logs** or the **Kudu dashboard**. Refer to the [documentation](#) for detailed steps. |
| 64 | +## How do I estimate pricing for hosting a WordPress site on Azure? |
| 65 | +Use the [Azure Pricing Calculator](#) to estimate hosting costs, considering App Service, MySQL, CDN, Blob Storage, and other components. |
| 66 | +## How can I debug and monitor my WordPress site? |
| 67 | +Key tools for debugging and monitoring WordPress sites include: |
| 68 | +- **App Service Logs** |
| 69 | +- **Kudu Dashboard** |
| 70 | +- **SSH Access** |
| 71 | +- **phpMyAdmin** |
| 72 | +Refer to the [documentation](#) for details. |
| 73 | +## What features can I use to boost my WordPress site's performance? |
| 74 | +Enhance performance with these features / plugins: |
| 75 | +- **Content Delivery Network (CDN)** |
| 76 | +- **Azure Front Door (AFD)** |
| 77 | +- **Blob Storage** |
| 78 | +- **Dynamic Caching** |
| 79 | +- **Image Compression (Smush)** |
| 80 | +- **Scaling Up and Out** |
| 81 | +- **Redis Cache** |
| 82 | +## What are the options for configuring and setting up my WordPress site? |
| 83 | +Options for setting up WordPress include: |
| 84 | +- **FTP File Transfers** |
| 85 | +- **NGINX Configuration Updates** |
| 86 | +- **App Service Settings Management** |
| 87 | +## How can I build a headless WordPress site? |
| 88 | +Enable **WP REST APIs** and integrate with **Static Web Apps** to create a decoupled front-end experience. Learn more [here](#). |
| 89 | +## What features are available for creating an enterprise-grade production website? |
| 90 | +Key features include: |
| 91 | +- Staging slots for safe testing |
| 92 | +- Custom domains and SSL certificates |
| 93 | +- CI/CD pipelines for automated deployments |
| 94 | +- Startup scripts for configuration |
| 95 | +- Custom email domains |
| 96 | +- Scaling and load testing capabilities |
| 97 | +## What are common errors for WordPress on App Service, and how can I troubleshoot? |
| 98 | +Typical issues and resolutions: |
| 99 | +- **Debug Logs:** Enable for troubleshooting. |
| 100 | +- **CORS Issues:** Adjust settings in CDN or Azure Front Door. |
| 101 | +- **Existing WordPress Detected Warning:** Follow [troubleshooting steps](#). |
| 102 | +- **Intl Extension Issues:** Install via the configuration panel. |
0 commit comments