When your websites increase in number then many questions arise. It becomes difficult to maintain domain, subdomains and folders on your hosting. This is all what happened with me as my websites grew in number and clients base increased. Here in this post I’ll share my experience on the same and best practices to manage domain, subdomain and folders on host.
You may also be looking for other similar questions as:
- How to prevent subdomain folder access from main domain?
- What are best SEO practice for domain, subdomain and folder?
- How to host main site on a folder and prevent it from folder access? … coming soon
You can get any hosting plan according to your requirement and get started the following way:
Step 1: Add a domain to your hosting
This domain acts a primary domain and has access to root folder of your hosting Suppose you have domain www.easysoftsys.com associated to your hosting then this will have access to your hosting root. All files for your primary domain website should be kept in a folder. This makes hosting less messy and easier to manage. So you can make a folder say main on root and keep all file for www.easysoftsys.com/main. Now to map these you can either redirect or rewrite URL.
Step 2: Adding subdomain
You may add as many subdomain as you want to. These are treated as separate websites by SEOs. For subdomain you need to create a separate folder on root. For e.g. www.support.easysoftsys.com can point to www.easysoftsys.com/support. The subdomain and folder name need not to be the same.
Now to keep things clean you should also read how to prevent subdomain folder access from main domain?
Step 3: Folders
Folders are simply accessible from main domain the same way we access on you local drive. For e.g. www.easysoftsys.com/blog. This will simply point to blog folder in root and access files from that path.
Thus following the methods above you can keep your hosting clean, easy to manage, secured, no duplicate data for search engine and follow best SEO practice.
Please share and comment. Thanks!