Hi, I will really appreciate if someone help me. I add a subdomain blog.mysite.tld pointed properly on sub-directory of mysite.tld. But whenever i tried to open it redirects to www.blog.mysite.tld and shows mysite.tld root files. I want to point both (www.blog.mysite.tld & blog.mysite.tld) on sub-directory of my mysite.tld Thanks
Are you using * for this vhost or the ip address? You should use * for all vhosts or ip addresses, but not both.
Ok, Add an ip to the system before. System->Server ip addresses. After that you will see that ip in the dropdown. Then choose the ip for all your websites instead * (don't mix ip and * for your websites)
I have only 1 dedicated IP. There is no ip listed here. Should i manually add IP? Kindly tell me why "*" is used ?
I manually add IP address. and select IP address in IPV4 field. now it is showing main site page i.e erslan.me when i try to open www.blog.erslan.me
Check your subdomain redirect type and be sure thar you select the L flag. However I forgot a very important information, sorry. If you intend to use a cms like joomla or wordpress you must to add the subdomain in the domain tab (because the apache rewrite rules will collide with the rewrite rules from your cms) .This will create a complete new vhost for your blog. So, the idea is: - Delete the subdomain entry in websites->subdomain - Add domain erslan.me (using the domain module, you are done here.) - Add subdomain blog.erslan.me (using the domain module) - DNS entries (you are already done) - Enjoy Now you have 2 websites, one for your main site and a second for your blog.