Related to Domain and Hosting under Different Companies; what about sub-domains #Root #By Sayed Ahmed

In one case, I faced a situation when a sub-domain was not working (not on browser, also no answer from ping) . The domain was working alright. The domain was purchased from one company where the hosting was under another company. No, I did not work with the situation (with that domain) (to resolve it). However, I did a test on my own to see what can be done. The solution may actually depend on many factors depending on the domain and hosting companies and configurations; Hence, not necessarily the following solution will work for you.

So, what was my experiment? say the domain name is s-ahmed.com ( not using the actual domain name that I tested with). The domain is purchased from GoDaddy.com.

And the hosting is provided under OnlineServicesCloud.com (yes, this is under my full control) as a completely new hosting account (not as an add-on domain). At GoDaddy, the only change was updating the name servers after purchasing the hosting. At GoDaddy, I provided ns1.onlineservicescloud.com and ns2.onlineservicescloud.com as the DNS servers. I did not change anything else at GoDaddy. Though I can see that Domain forwarding is turned off at GoDaddy. Also, it says 0 sub-domain is forwarded. I created the sub-domain test.s-ahmed.com for example using cpanel under the hosting account for s-ahmed.com. It worked almost instantly (within 5 minutes). I had to provide permission 755 on the sub-domain folder. Did create an index.php file inside the folder. In my case, I had to do little more. I created an .htaccess file inside the sub-domain folder (this is my server configuration – may not apply to yours). Then it worked. From: http://sitestree.com/?p=1560
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2014-10-11 21:37:57

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada