Sentora Support Forums
Sub_domain not working - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Sub_domain not working (/showthread.php?tid=613)

Pages: 1 2


RE: Sub_domain not working - Computerama - 11-11-2014

Sorry. No I have not changed anything. this is from a fresh install. All I have done is create Domain and sub_domain.


RE: Sub_domain not working - 5050 - 11-11-2014

Hi,

I have a begin of idea (but not yet the full cause or solution):

The "ErrorDocument" vhost entries are created from the content of directory _errorpages in the domain.

Can you get a look about what is inside your directories for errorpages in
/etc/sentora/hostdata/[sentora-user]/public_html/[domain]/_errorpages/  ?

I bet there are here duplicate file for each error page.

I do not know why, but could it be possible you have created the domain, then deleted it and then created it again ?

In such case, the errorpage may have been created 2 times. I am not sure about it, but could it be possible that new files created duplicate files suffixed with (1), (2) etc rather than owerwite oldest ?
Huh


RE: Sub_domain not working - Computerama - 11-11-2014

Ok my fault. You are correct 5050. I did delete the website and recreated it and copied the back up in the directory. witch created a copy of error pages. when I removed the copy's, vhost file writes correctly. thanks to you and everyone that helped.


RE: Sub_domain not working - Me.B - 11-11-2014

Good catch 5050.

Closing this as resolved.