RE: subdomain with www is not working !!!!
08-07-2018, 03:05 PM
(This post was last modified: 08-07-2018, 03:07 PM by mungujakisa.)
(08-07-2018, 08:02 AM)yusha Wrote: @TGates Believe me I have checked out all the posts related to this. But not finding a proper solution. Some posts tells you to do some changes on .htaccess some post tells you to change the config on apache. Some posts tells you to create page rules. Tried with everything I have found. But none is working.
I am thinking if there's any way to add the subdomain with www as an additional subdomain but sentora is not allowing me to do so. So If I can add
andCode:subdomain.mysite.com
as a separate subdomain then I can just assign theCode:www.subdomain.mysite.com
domain path to theCode:www.subdomain.mysite.com
path. So it will be same in any way. I just need a solution that works and that's it.Code:subdomain.mysite.com
So @TGates what are the modification that I have to do in Sentora's config files to make it happen?
Add that in the /etc/sentora/configs/apache/httpd-vhosts.conf where you will find the subdomains referenced, and that is the file called by the main apache config. I think you'll need a ServerAlias www.your.subdomain.com
I believe you should update your host dns records as well for it to work. I might test it later and confirm.
***********************************************
SAMUEL AVOLA MUNGUJAKISA *
CEO, Bero Computers *
www.berocomputers.com *
+256754086797 *
+256780585402 *
***************************** *
SAMUEL AVOLA MUNGUJAKISA *
CEO, Bero Computers *
www.berocomputers.com *
+256754086797 *
+256780585402 *
***************************** *