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 !!!!
#13
RE: subdomain with www is not working !!!!
(08-11-2018, 10:35 AM)TGates Wrote: NOTICE: This fix is not recommended or approved by the Sentora Team. Use at your own risk.

Changing the core code of Sentora is not the proper way to solve this!

There should already be an alias designated in the sub domain's httpd-vhost.conf entry when it is created, similar to:
Code:
# DOMAIN: sub.domain.com
<virtualhost *:80>
ServerName sub.domain.com
ServerAlias  www.sub.domain.com
ServerAdmin webmsater@domain.com

Which should be handling the call for www.domain.com. If your DNS is not proper, it will not work.

It didn’t added that alies for the subdomains automatically. I tried to add it manually while editing the vhost file. It worked but temporarily. When I ran the deamon it just resets back. So that’s how it worked for me and I am okay with it.
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 yusha - 08-11-2018, 10:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Public_html Inside Domain/Subdomain zHostingSolutions 2 4 ,177 07-23-2021, 09:57 AM
Last Post: Nigel
redirect error after letsencrypt + subdomain mizerek 1 4 ,115 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: 2 Guest(s)