Mobile app version of vmapp.org
Login or Join
Cody1181609

: Can I point a limited number of subdomains to a subdirectory using DNS? I have taken my domain Freenom.com (a domain provider) and hosted it on Sixserve.com (a hosting service). The problem

@Cody1181609

Posted in: #Cname #Dns #Subdirectory #Subdomain #WebHosting

I have taken my domain Freenom.com (a domain provider) and hosted it on Sixserve.com (a hosting service). The problem is that this hosting service allows only 3 sub-domains for per hosting plan, and I want to increase this limit.

I have full control over my domain and can change any DNS records at my will (including CNAME, A, etc...). So, my question is: 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. Is this possible, if yes then how?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Cody1181609

1 Comments

Sorted by latest first Latest Oldest Best

 

@Nimeshi995

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).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme