---
title: Create subdomain
slug: docs/platform/activating-web-hosting
description: In this guide you’ll learn how to activate the web hosting tool on Back4App.
image: https://www.back4app.com/_public/img/back4app-og.png
docTags: 
createdAt: 2024-02-01T14:23:20.262Z
---

# Activating Web Hosting

## Introduction

Back4App offers a web hosting feature where is possible to host your website or even [a simple NodeJS application](https://www.back4app.com/docs/advanced-guides/web-application-hosting). By default, enabling the web hosting tool, you will configure a subdomain on Back4App and at any time you can point it out to your own domain. Web hosting tool gives you the flexibility you need to host your entire platform on Back4App. See how to do that below.

## Prerequisites

:::hint{type="info"}
**To complete this tutorial, you will need:**

- A verified account at Back4App.
- An app created in Back4App.
  - Check this [Create New App tutorial](https://www.back4app.com/docs/get-started/new-parse-app) to learn how to create an app at Back4App.
:::

## How can I use the created subdomain?

When you enable the Webhosting feature is a guarantee that you can use more functionalities in Back4App side, so, it has the many different purposes that are described below:

**1. Host Static Pages**

The Back4App Documentation comprises various guides and tutorials to build a Web App using Angular, Ionic, React and Node!!!

**2. Custom Domain appoint to your Back4App subdomain**

This amazing possibility allows you set up a custom domain. All you need to do is create a CNAME DNS entry in your DNS provider, for example:

<font color="#2166ae">`myapp.mydomain.com`</font> to <font color="#2166ae">`myapp.b4a.app`</font>

# Let’s get started to enable the Webhosting!

## 1 - Locate the feature block

To locate and enable your Webhosting feature, log in to your Back4App account and go to the My Apps option and then click on <font color="#2166ae">`Server Settings`</font>. After that, search for the <font color="#2166ae">`Webhosting and Custom Domains`</font> block and select Settings. The <font color="#2166ae">`Webhosting and Custom Domains`</font> section looks like this:

![](https://api.archbee.com/api/optimize/yD3zCY-NNBBIfd0uqcfR5/ZDeY9ygJSM4s5bh7sf8uF_image.png)

## 2 - Enable the Activate Hosting box

Now, tick the checkbox with tag <font color="#2166ae">`Activate Back4App Hosting`</font> and insert the available <font color="#2166ae">`Subdomain name`</font> you desired to have, and then click on the <font color="#2166ae">`Save` </font>Button to preserve the changes, same as shown in the example below:

::Image[]{src="https://api.archbee.com/api/optimize/yD3zCY-NNBBIfd0uqcfR5/fzitSjtT2FcV2QqO6zOMF_image.png" size="60" width="616" height="645" position="center" showCaption="false"}

With the guide described above, you’ll be able to set up a Subdomain with Back4App and enable as well with various features, including Hosting Pages and creating your own Custom Domain!

