Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Tutorials
    • All tutorials
      • Transferring a WordPress website from a different hosting provider to Yandex Cloud
      • Setting up virtual hosting
        • Overview
        • Management console, CLI, and API
        • Terraform
      • Creating a Python web application with Flask
      • Hosting a static Gatsby website
      • Migrating to Cloud CDN from a third-party CDN provider
      • Getting website traffic statistics with S3 Select
  1. Application solutions
  2. Creating a website
  3. Assigning a domain name to a web server VM
  4. Overview

Assigning a domain name to a web server VM

Written by
Yandex Cloud
Updated at February 27, 2025

In this tutorial, you will assign your own domain name to a Yandex Compute Cloud web server VM.

To create a VM, you will use a public LAMP image with a pre-installed Apache HTTP server. Alternatively, you can use a public LEMP image with an NGINX web server.

As an example, we will use the example.com domain name mapped to your VM IP address through DNS records in Yandex Cloud DNS. You can register your domain name at any domain name registrar.

You can use one of the following tools to create an infrastructure for assigning a domain name to your web server VM:

  • Management console, CLI, or API: Use the Yandex Cloud management console, CLI, or API to create your infrastructure step by step.
  • Terraform: Streamline creating and managing your resources using the infrastructure as code (IaC) approach. Download a Terraform configuration example from the GitHub repository and then deploy the infrastructure using the Yandex Cloud Terraform provider.

See alsoSee also

  • Cloud DNS integration with Compute Cloud

Was the article helpful?

Previous
Setting up virtual hosting
Next
Management console, CLI, and API
© 2025 Direct Cursus Technology L.L.C.