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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Cloud DNS
  • Getting started
    • All tutorials
    • Configuring a local caching DNS resolver
    • Migrating DNS zones from Yandex 360
    • Integrating with a corporate DNS service
    • Integrating Managed Service for Kubernetes into a corporate DNS zone
    • Configuring Cloud DNS for access to managed database clusters from other cloud networks
    • Creating an ACME resolver webhook for responses to DNS01 checks
      • Overview
      • Management console, CLI, and API
      • Terraform
    • Publishing game updates
    • Connecting to Object Storage from Virtual Private Cloud
    • Connecting to Container Registry from Virtual Private Cloud
    • Reconfiguring a network connection when recreating a Yandex Data Processing cluster
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ
  1. Tutorials
  2. Assigning a domain name to a web server VM
  3. 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, 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
Creating an ACME resolver webhook for responses to DNS01 checks
Next
Management console, CLI, and API
Yandex project
© 2025 Yandex.Cloud LLC