Web Hosting Updated 14 March 2023

A subdomain is a prefix added to your main domain - for example shop.example.com or staging.example.com. In Enhance, each subdomain can be set up as its own independent website with its own files, PHP version, and SSL certificate.

Creating a Subdomain Website

  1. Log in to web.teklanhosting.co.uk.
  2. Go to Websites → Add Website.
  3. Enter the full subdomain as the domain name - e.g. shop.example.com.
  4. Select a PHP version and click Create.

Enhance creates a separate directory and environment for the subdomain. It will also attempt to issue an SSL certificate - make sure the subdomain has a DNS A record pointing to your hosting IP before this step.

Adding the DNS Record

If your domain uses TekLan nameservers, add an A record in the client area DNS manager:

Name:  shop
Type:  A
Value: your.hosting.ip

If you manage DNS at an external provider, add the A record there. The subdomain needs to resolve before SSL can be issued.

Using a Subdomain as an Alias

If you want www.example.com to serve the same content as example.com (rather than a separate site), add it as a domain alias:

  1. Open your main website in Enhance.
  2. Go to Settings → Domain Aliases (or Add Alias).
  3. Enter www.example.com and save.

Enhance will serve both domains from the same public_html directory. SSL covers both.

Common Uses for Subdomains

  • www.example.com - canonical www alias
  • staging.example.com - development/testing environment
  • shop.example.com - separate e-commerce section on a different platform
  • api.example.com - API endpoint served by a separate application
  • mail.example.com - webmail or mail server hostname

Wildcard subdomains: If your application needs wildcard subdomain support (e.g. *.example.com), contact support - this requires a wildcard SSL certificate and specific server configuration.

More Web Hosting guides

Migrating Your Website to TekLan

Step-by-step: export files and databases from your old host, import them here, and cut over DNS with minimal downtime.

Setting Up Email Forwarding

Create a professional domain email address and forward it to any inbox - included free with every domain.

Getting to Know the Enhance Control Panel

A tour of the Enhance panel - where to find websites, email, databases, files, and account settings.

Creating a Website in Enhance

How to add a new website to your hosting account, choose a PHP version, and get a free SSL certificate.

Installing WordPress in Enhance

Use the built-in WordPress installer to get a fresh site live in under five minutes.

Installing WooCommerce in Enhance

Deploy WordPress with WooCommerce pre-installed in one step, then configure payments, products, and shipping.

Installing Joomla in Enhance

Use the built-in app installer to deploy a fresh Joomla site with the database and configuration handled automatically.

Creating Email Accounts in Enhance

Set up a domain mailbox, configure your mail client, and add forwarders or aliases.

Creating and Managing Databases in Enhance

Create a MySQL database and user, access phpMyAdmin, and manage database permissions.

FTP and SFTP Access in Enhance

Create FTP or SFTP credentials and connect with FileZilla or your preferred client.

SSL Certificates in Enhance

How Let's Encrypt SSL works in Enhance, how to force HTTPS, and what to do if a certificate fails to issue.

Changing Your PHP Version in Enhance

Switch PHP version per site, set custom php.ini values, and enable or disable extensions.

Setting Up Cron Jobs in Enhance

Schedule recurring tasks for your website using the built-in cron manager.

Backups and Restores in Enhance

Create manual snapshots, schedule automated backups, and restore files or databases from a previous state.

Creating a Staging Site in Enhance

Clone your live website to a staging environment, test changes safely, and push them back to production.

Using the File Manager in Enhance

Upload, edit, rename, compress, and delete files directly from your browser without an FTP client.

Managing Users and Roles in Enhance

How to invite additional users to your Enhance account, assign roles, and remove access when no longer needed.

Integrations in Enhance

Connect Cloudflare for automatic DNS sync or Slack to receive hosting notifications in your team channel.