How to create a subdomain manually?
We’re gradually moving existing domains and hosting plans to a new and improved platform. All new orders are set up on this platform too.
Because of this, some instructions may differ depending on which platform your domain is on.
Click here to check which platform your domain is on
To see which platform version your domain is on and what steps you need to follow, check the screenshots below of the one.com Control Panel. There's a small difference in the Advanced settings menu:
Not yet migrated
You won't see an option for Subdomains under Advanced settings.
New platform
You'll see a Subdomains option under Advanced settings
Creating a subdomain lets you add a separate section or website under your domain. For example, you can use a subdomain for a blog, shop, or photo gallery while keeping your main website on the domain itself, called the root.
If your hosting plan includes web space, you can create as many subdomains on a domain as you like.
Note: A Website Builder site cannot be put on a subdomain. Website Builder sites can only be published on the main domain (root). You can, however, create an additional website, with for example WordPress, on a subdomain.
-
Not yet migrated
A subdomain, like your main website (root), needs an index file to show a default page. For domains that haven't been migrated yet at one.com, creating a folder with a website and an index file will automatically turn it into a subdomain.
Step 1 - Open File Manager
- Log in to your one.com Control Panel.
- Scroll down to the Files & Security tile and click File Manager. File Manager opens in a new browser tab.
Note: You don't need to create an index.php file if you install WordPress manually or with our 1-click WordPress installation tool. Also, with CMS like Drupal, Joomla or Prestashop, the index file will automatically be created during the installation process. In case of a WordPress migration, the index file will move with it.
Step 2 - Create a new folder
- Click on the small down arrow next to the button + Upload in the top left.
- Choose New Folder from the menu. A new folder and file overview have now been added to the folder.
- Name the folder what you want your subdomain to be called. For example, in the screenshot below, we named it ”blog.” This is the name that website visitors will enter and which will be displayed in the browser.
Step 3 - Add files
You can now add files to this folder. Which files you add or upload depends on what you want to use the subdomain for.
- Clicking on the name of the folder you just created takes you to the folder.
- Click on the small arrow next to the button + Upload in the top left.
-
A) Choose New HTML file to create an HTML file (index.html)
B) Choose New other file to create, for example, a PHP file (e.g. index.php). - Type index and press Enter on your keyboard to save. When you choose "New other file", you also have to add the corresponding extension, for example, index.php.
The file name is case-sensitive, and the index file should be written with all small cases. In the example in the screenshot below, we added an HTML file named "index". - Optionally add more files to the folder.
Step 4 - Done!
You have now created a subdomain, which will be displayed in the browser if you type in
www.one-example.com/subdomain,one-example.com/subdomainorsubdomain.one-example.com.one-example.com and subdomain are used here as examples. Replace one-example.com with your domain and subdomain with the name you gave your subdomain.
-
New platform
There's a new and improved way to create subdomains for domains that have been migrated to the new platform and newly ordered domains.
Step 1 - Click on Subdomains
- Log in to your one.com Control Panel.
- Scroll down to Advanced settings and click Subdomains.
Step 2 - Add subdomain
- Click on Add subdomain
- Add a name for your subdomain, then click Save.
Note: Selecting the PHP version is only necessary if you plan to use a PHP-supported website, like WordPress or Joomla. If not, you can simply ignore it or leave it as it is.
Step 3 - Subdomain created
Congratulations! You have now created a subdomain.
1 = If you want to access the File Manager for the subdomain, click here. Unfortunately, you won't be able to access this folder from the File Manager on the Control Panel's home page.
2 = Click here if you want to change the PHP version for the subdomain.
Step 4 - Add files
You can now add files to this folder. Which files you add or upload depends on what you want to use the subdomain for.
- Clicking on the name of the folder you just created takes you to the folder.
- Click on the small arrow next to the button + Upload in the top left.
-
A) Choose New HTML file to create an HTML file (index.html)
B) Choose New other file to create, for example, a PHP file (e.g. index.php). - Type index and press Enter on your keyboard to save. When you choose "New other file", you also have to add the corresponding extension, for example, index.php.
The file name is case-sensitive, and the index file should be written with all small cases. In the example in the screenshot below, we added an HTML file named "index". - Optionally, add more files to the folder.
Related articles: