I want to create a subdomain in Hostgator and to do it I go in cpanel to subdomains and give the name I want and leave the root directory to default value but when its created its only available trough
www.example.com/sub, what I want is to have trough
- As you can see, there is an option to add a subdomain.
- Click on it and you shall be taken to a screen wherein you can enter the subdomain you want and it will auto-populate it with a folder.
- Change or Create the folder and keep the files you want there
- Make the final entry and you should be good to go