Hi I'm moving this thread here as it was incorrectly posted in the linux forum, and that thread was completed. i'm currently getting the sub-domains up and running. I'm struggling a little. the subdomain was created and DNS added (without redirect) https://bolotalk.com/demo works but https://demo.bolotalk.com redirects to https://bolotalk.com i setup a subdomain in the same website... it shows the demo.bolotalk.com in Dependent sub- / aliasdomains PS. I just added an R=310,L redirect in the subdomain of /demo/ the demo directory is under /web/demo/ https://snipboard.io/Q5x3BO.jpg subdomain ====== https://snipboard.io/o7As41.jpg website ====== https://snipboard.io/rEDwJ2.jpg redirect ====== https://snipboard.io/kxncy9.jpg dns
I did not understand what you are trying to accomplish nor what works as you like and what does not. But is Aliasomain (Vhost) what you should be using? It may be this has to be enabled in ISPConfig system settings to be available in the Panel. See ISPConfig manual.
I changed now to www. if i insert /demo/ in the subdomain, it links to https://demo.bolotalk.com/demo and the wordpress shows no page found. If I enter https://demo.bolotalk.com in the subdomain, browser doesnt find anything. https://snipboard.io/SDjQWq.jpg If I leave it blank, it redirects to https://bolotalk.com I need the subdomain https://demo.bolotalk.com to work with the wordpress files listed in web/demo/
Your screenshot shows you redirecting the demo subdomain to itself (using https), which can't work. Do you want the /demo url of the main site to continue working as a wordpress install? Or do you want it to redirect to the demo.bolotlak.com subdomain, and that's where wordpress runs? You'll save yourself some headache to pick one url for the wordpress install (eg. the subdomain) and have the other location (eg. the /demo url of the main site) redirect there. There are numerous ways things can be setup depending on what you want, but I would probably delete the /web/demo install entirely (again assuming it's demo content and easy to reinstall) and add demo.bolotlak.com as a vhost subdomain, with web root set to /demo.bolotlak.com or similar. Then just redirect /demo location on the main site to the subdomain.
all good, i created a new website demo.bolotalk.com , added it to dns and i'm up and running , thank you. i'm just surprised that there are issues to add subdomains within the main tld
There are no such issues. Most likely you installed a cms or so in that website that did the redirect, e.g. WordPress is doing that automatically.
noted, i'll be deploying another subdomain in the week... i will do so without installing WP first. tx
When a subdomain shall have it's own content, then it's always better to create a new website for the subdomain as @Jesse Norell mentioned already as CMS systems do not like it in most cases when you put other sites into a subdirectory.