Is it possible to change my DNS records (or otherwise) in such a way that a sub-domain subdomain.example.com will point to example.com/somepage.
Not by changing DNS records. A
records point to IP addresses. CNAME
records point to another host. Neither can point to a URL or URI like: example.com/somepage
.
However, some DNS providers (like domain registrars) offer domain forwarding to URLs which uses a 301
redirect, or masking which uses a frame. Looking at the features for freenom.com
, it appears they do offer URL forwarding, however it is unclear if they offer forwarding for subdomains like some registrars do.
The problem is that this hosting service allows only 3 sub-domains for per hosting plan, and I want to increase this limit.
If your goal is to increase the number of subdomains, then adding a free CDN like CloudFlare will allow to you to create additional subdomains using CNAME
records, or wildcards DNS entries (i.e., *.example.com
) so that you can use any subdomain you like.
Combined with CloudFlare's Page Rules, you could then point added subdomains to another URL (e.g., subdomain.example.com
-> example.com/somepage
).