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
- Log in to web.teklanhosting.co.uk.
- Go to Websites → Add Website.
- Enter the full subdomain as the domain name - e.g.
shop.example.com. - 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:
- Open your main website in Enhance.
- Go to Settings → Domain Aliases (or Add Alias).
- Enter
www.example.comand save.
Enhance will serve both domains from the same public_html directory. SSL covers both.
Common Uses for Subdomains
www.example.com- canonical www aliasstaging.example.com- development/testing environmentshop.example.com- separate e-commerce section on a different platformapi.example.com- API endpoint served by a separate applicationmail.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.