how to create and connect a subdomain
- Get link
- X
- Other Apps
Here’s how to create and connect a subdomain for your Horizons app:
Create the subdomain in DNS (hPanel)
- Go to hPanel → Domains → [yourdomain] → DNS Zone.
- Add an A record:
- Type: A
- Name:
sub(forsub.yourdomain.tld) - Points to: your hosting IP (same as your main domain’s A record)
- TTL: leave default → Add record.
- Wait for DNS propagation (can take up to a few hours, usually faster).
Add the subdomain as a website (if needed)
- Go to Websites → Add website and select the subdomain, if you want it as a separate hosting entry.
Connect the subdomain to Hostinger Horizons
- Go to hPanel → Websites → find your Horizons app → click Change domain.
- Enter your subdomain (e.g.,
portal.yourdomain.tld) and follow the steps to confirm.
Or connect from inside Horizons editor
- In Horizons (you’re currently on
darkorchid-snail-689700.hostingersite.com), click Publish. - Choose Connect domain, then enter your subdomain and complete the verification steps.
- In Horizons (you’re currently on
If you tell me your main domain and what subdomain you want (e.g., moodle.example.com), I can give you the exact values to paste into DNS.
- Get link
- X
- Other Apps
Comments
Post a Comment