This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

subdomain with www is not working !!!!
#4
RE: subdomain with www is not working !!!!
(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
Code:
subdomain.mysite.com
and
Code:
www.subdomain.mysite.com
as a separate subdomain then I can just assign the
Code:
www.subdomain.mysite.com
domain path to the
Code:
subdomain.mysite.com
path. So it will be same in any way. I just need a solution that works and that's it.

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                     *
*****************************  *
Reply
Thanks given by:


Messages In This Thread
subdomain with www is not working !!!! - by yusha - 08-06-2018, 05:07 AM
RE: subdomain with www is not working !!!! - by mungujakisa - 08-07-2018, 03:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Public_html Inside Domain/Subdomain zHostingSolutions 2 4 ,181 07-23-2021, 09:57 AM
Last Post: Nigel
redirect error after letsencrypt + subdomain mizerek 1 4 ,116 08-06-2020, 04:54 AM
Last Post: mizerek
Add on Domains not working but Main domain works luckyviet 2 5 ,540 03-18-2020, 07:38 PM
Last Post: AanaNahum

Forum Jump:


Users browsing this thread: 1 Guest(s)