How to host Wordpress on virtual machine?

Lawrens 0 Reputation points
2024-04-19T17:26:36.08+00:00

I am new to Azure Platform, Previously using Ubuntu and other Debian based Linux OS to setup PHP based apps and WordPress. Is it possible to do same with Azure Cloud ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,152 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. v-vvellanki-MSFT 3,815 Reputation points Microsoft Vendor
    2024-04-19T18:14:06.6566667+00:00

    Hi @Lawrens,

    Thanks for contacting Microsoft Q&A platform.

    There's a pretty straight forward option to host a WordPress site on Azure using App Service which may streamline the process for you. This is a good approach for someone is new to Azure.

    How do I create a WordPress site in Azure? The Azure documentation on creating a WordPress site will walk you through deploying your WordPress site to Azure App Service on Linux using WordPress in the Azure Marketplace. The WordPress installation comes with pre-installed plugins for performance improvements, W3TC for caching and Smush for image compression.

    Create WordPress site using Azure portal

    1. To start creating the WordPress site, browse to https://ms.portal.azure.com/#create/WordPress.WordPress.
    2. In the Basics tab, under Project details, make sure the correct subscription is selected and then choose to Create new resource group. Type myResourceGroup for the name and select a Region you want to serve your app from.
    3. Under Hosting details, type a globally unique name for your web app and choose Linux for Operating System. Select Basic for Hosting plan. See the table below for app and database SKUs for given hosting plans. You can view hosting plans details in the announcement. For pricing, visit App Service pricing and Azure Database for MySQL pricing.
    4. Under WordPress Setup, type an Admin Email, Admin Username, and Admin Password. The Admin Email here is used for WordPress administrative sign-in only.
    5. Select the Advanced tab. Choose your preferred Content Delivery Network (CDN) and storage. If you're unfamiliar with Content Delivery Network or Blob Storage, leave these unselected. For more details on the Content Distribution options, see WordPress on App Service.
    6. Select the Review + create tab. After validation runs, select the Create button at the bottom of the page to create the WordPress site.
    7. Browse to your site URL and verify the app is running properly. The site may take a few minutes to load. If you receive an error, allow a few more minutes then refresh the browser.

    Hope this helps you.

    0 comments No comments