Hi! I've seen that was discussed already, but couldn't find a solution yet. So, what I have: webmin 1.430, virtualmin GPL, 2 domains hosted on the server. Both domains have different subdomains, both domains are set in the BIND config. to use as NS the everydns.net addresses, the NS I've created for each (and added to the registrar's site) and a NS, the default, which is the server's name. The problem: the subdomains stopped working (they used to work) and I can't remember having anything to do with this. Some of them are using the same NS as the domains, some were left only with the default NS - the server's name. All of them worked before. All of subdomains were created as sub-servers of the initial domains. The validate server option, in virtualmin validates them all with no problem. In virtualmin, under the 'Related virtual servers' title, I can see the number of those subdomains, however, when I click the link it openes a page saying only 'Found 11 virtual servers etc...', with the buttons to update, disable, detele them. In other words, it seems to know they're there, but can't show them. Can't explain this better. I don't know much linux, I only administer the server using the webmin. The only strange thing I've noticed is that the PHP configuration link, initial under the 'Others' menu, is now under the Unused-modules - I really don't know if this has something to do with it. I'd appreciate some help on this. Btw, the server is Ubuntu 8.04, if it matters, apache 2.2.8 is installed, BIND 9.3.2, Mysql 5.0.51; don't know what else to say. I've created another subdomains just to see if those will work abut none of them are. Again, the domains are working just fine. Thank you!
Post edited by: wattaman, at: 2008/10/09 05:17<br><br>Post edited by: wattaman, at: 2008/10/09 07:50
Nobody knows?
Let me give more information I've just discovered, then: the newly created subdomains are working fine. Only the old existing ones are giving an <div class='quote'>Navigation to the webpage was canceled</div>
Plus, in /etc/apache2/sites-available the configuration files of the old ones and the new created looks similar:
[code:1]<VirtualHost 123.123.123.123.:80>
SuexecUserGroup "#1001" "#1002"
ServerName sub.domain.com
ServerAlias www.sub.domain.com
ServerAlias webmail.sub.domain.com
ServerAlias admin.sub.domain.com
DocumentRoot /home/username/domains/sub.domain.com/public_html
ErrorLog /home/username/domains/sub.domain.com/logs/error_log
CustomLog /home/username/domains/sub.domain.com/logs/access_log combined
ScriptAlias /cgi-bin/ /home/username/domains/sub.domain.com/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/username/domains/sub.domain.com/public_html>
Options -Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/username/domains/sub.domain.com/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.sub.domain.com
RewriteRule ^(.*) http://sub.domain.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.sub.domain.com
RewriteRule ^(.*) https://sub.domain.com:10000/ [R]
</VirtualHost>
[/code:1]
I suppose I could delete them and recreate them again, but I want to know how to fix this so I won't do this in the future, if it occures again.
Thank you!
K. I've deleted yesterday one subdomanin from within virtualmin (left the files), then from apache and bind. Then I recreated it from virtualmin and it worked fine.
This morning (now) is not displaying, again.
I'm stuck. Guess the rebuild option is not working, after all. This means I can't probably use subdomains, at all.
<div class='quote'>K. I've deleted yesterday one subdomanin from within virtualmin (left the files), then from apache and bind. Then I recreated it from virtualmin and it worked fine.
This morning (now) is not displaying, again.</div>
This makes no sense. Why would it stop working after it worked? Virtualmin doesn't do things behind your back. ;-)
I don't understand the problem your experiencing...so I don't have any suggestions for fixing it.
BTW-Based on the snippet of httpd.conf you've shown, you're actually talking about Sub-servers (that might just happen to have a sub-domain name). Sub-domains are a deprecated account type in Virtualmin and we don't recommend their use at all for any purpose. (But, again, it looks like you're using Sub-servers, which should work fine.)
--
Check out the forum guidelines!
I know it makes no sens, that's why is so annoying.
Yes, I'm setting the subdomains to work by create them as sub-servers.
Right now I'm validating the servers under the <b>Validate Virtual Servers</b> page and it says <i>All features OK</i>. For example stiri.atat.ro, used to work and then blocked again, but I see it as working fine in virtualmin.
Is very confusing, specially with my linux knowledge. And, of course, the main site atat.ro never had problems from the day it was created in virtualmin.
Is there another place where I can look for errors, except for the subservers logs?
Thanks for responding!
Regards
I've just got a brilliant ideea: I've opened the subdomains in a proxy and they worked; now I'm browsing them normally.
I think the problem came from the ISP's cache server, though is been five days since the subdomains are offline (5 days !?!) - all this time those servers didn't worked, lol.
Thanks, Joe, and sorry for the useless thread.
K. maybe I spoke too fast.
I've just built another subdomain and all of them stopped displaying in browser. Again, I used proxy sites and now some are showing the subdomains but some are giving 500 errors.
Joe, please tell me that virtualmin has nothing to do with this issue so I can close this thread; and search the problem somewhere else.
Thank you!
Help!?!
I still can't figure it out.
I can browse some of the subdomains using online proxies, only.
Right now the stiri.atat.ro is opening in proxy but not directly in the browser.
Can someone suggest a solution? Or at least the problem, I have no ideea where to look. The virtualmin appears to work fine.
Nobody knows?
Let me give more information I've just discovered, then: the newly created subdomains are working fine. Only the old existing ones are giving an <div class='quote'>Navigation to the webpage was canceled</div>
Plus, in /etc/apache2/sites-available the configuration files of the old ones and the new created looks similar:
[code:1]<VirtualHost 123.123.123.123.:80>
SuexecUserGroup "#1001" "#1002"
ServerName sub.domain.com
ServerAlias www.sub.domain.com
ServerAlias webmail.sub.domain.com
ServerAlias admin.sub.domain.com
DocumentRoot /home/username/domains/sub.domain.com/public_html
ErrorLog /home/username/domains/sub.domain.com/logs/error_log
CustomLog /home/username/domains/sub.domain.com/logs/access_log combined
ScriptAlias /cgi-bin/ /home/username/domains/sub.domain.com/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/username/domains/sub.domain.com/public_html>
Options -Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/username/domains/sub.domain.com/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.sub.domain.com
RewriteRule ^(.*) http://sub.domain.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.sub.domain.com
RewriteRule ^(.*) https://sub.domain.com:10000/ [R]
</VirtualHost>
[/code:1]
I suppose I could delete them and recreate them again, but I want to know how to fix this so I won't do this in the future, if it occures again.
Thank you!
Normal browsing [img size=512]http://www.virtualmin.com/components/com_fireboard/uploaded/images/stiri...
Nobody knows?
Let me give more information I've just discovered, then: the newly created subdomains are working fine. Only the old existing ones are giving an <div class='quote'>Navigation to the webpage was canceled</div>
Plus, in /etc/apache2/sites-available the configuration files of the old ones and the new created looks similar:
[code:1]<VirtualHost 123.123.123.123.:80>
SuexecUserGroup "#1001" "#1002"
ServerName sub.domain.com
ServerAlias www.sub.domain.com
ServerAlias webmail.sub.domain.com
ServerAlias admin.sub.domain.com
DocumentRoot /home/username/domains/sub.domain.com/public_html
ErrorLog /home/username/domains/sub.domain.com/logs/error_log
CustomLog /home/username/domains/sub.domain.com/logs/access_log combined
ScriptAlias /cgi-bin/ /home/username/domains/sub.domain.com/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/username/domains/sub.domain.com/public_html>
Options -Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/username/domains/sub.domain.com/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.sub.domain.com
RewriteRule ^(.*) http://sub.domain.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.sub.domain.com
RewriteRule ^(.*) https://sub.domain.com:10000/ [R]
</VirtualHost>
[/code:1]
I suppose I could delete them and recreate them again, but I want to know how to fix this so I won't do this in the future, if it occures again.
Thank you!
Proxified
[img size=573]http://www.virtualmin.com/components/com_fireboard/uploaded/images/stiri...
I can't quite read the URL there -- we might be able to offer some suggestions if you post that.
However, being as it works from a proxy -- that may very well mean it's an issue with your ISP and/or DNS from where you're trying this.
Also, if you ever receive a 500 error, that means all sorts of good information got dumped into the Apache error log. You might want to look at the error logs for your domain for some additional details.
-Eric
Nobody knows?
Let me give more information I've just discovered, then: the newly created subdomains are working fine. Only the old existing ones are giving an <div class='quote'>Navigation to the webpage was canceled</div>
Plus, in /etc/apache2/sites-available the configuration files of the old ones and the new created looks similar:
[code:1]<VirtualHost 123.123.123.123.:80>
SuexecUserGroup "#1001" "#1002"
ServerName sub.domain.com
ServerAlias www.sub.domain.com
ServerAlias webmail.sub.domain.com
ServerAlias admin.sub.domain.com
DocumentRoot /home/username/domains/sub.domain.com/public_html
ErrorLog /home/username/domains/sub.domain.com/logs/error_log
CustomLog /home/username/domains/sub.domain.com/logs/access_log combined
ScriptAlias /cgi-bin/ /home/username/domains/sub.domain.com/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/username/domains/sub.domain.com/public_html>
Options -Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/username/domains/sub.domain.com/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.sub.domain.com
RewriteRule ^(.*) http://sub.domain.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.sub.domain.com
RewriteRule ^(.*) https://sub.domain.com:10000/ [R]
</VirtualHost>
[/code:1]
I suppose I could delete them and recreate them again, but I want to know how to fix this so I won't do this in the future, if it occures again.
Thank you!
The subdomainI gave as example is stiri.atat.ro, but they're more: top.atat.ro, cauta.atat.ro etc.
Right now the first two just started to show in browser, but the last one shows an 500 error. The last error logs for cauta.atat.ro are:
<div class='quote'>[Thu Oct 16 09:45:25 2008] [error] [client 217.207.241.172] File does not exist: /path_to_subdomain/cauta.atat.ro/public_html/favicon.ico
[Thu Oct 16 09:45:25 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 09:46:57 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:44 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:49 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:49 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:50 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:50 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:50 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:50 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:50 2008] [error] [client 92.84.76.137] File does not exist: /path_to_subdomain/cauta.atat.ro/public_html/favicon.ico
[Thu Oct 16 11:01:50 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:53 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:01:53 2008] [error] [client 92.84.76.137] File does not exist: /path_to_subdomain/cauta.atat.ro/public_html/favicon.ico
[Thu Oct 16 11:01:55 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:02:21 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:31:56 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:54:28 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:54:28 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:54:28 2008] [error] [client 79.167.114.88] File does not exist: /path_to_subdomain/cauta.atat.ro/public_html/favicon.ico
[Thu Oct 16 11:54:28 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:56:37 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:56:38 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Thu Oct 16 11:56:38 2008] [error] [client 79.167.114.88] File does not exist: /path_to_subdomain/cauta.atat.ro/public_html/favicon.ico
[Thu Oct 16 11:56:38 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!</div>
As for the other 2, that just started to work:
<div class='quote'>[Wed Oct 15 22:06:58 2008] [error] [client 72.30.215.46] File does not exist: /path_to_subdomain/top.atat.ro/public_html/SlurpConfirm404
[Wed Oct 15 23:29:24 2008] [error] [client 74.6.22.95] File does not exist: /path_to_subdomain/top.atat.ro/public_html/robots.txt
[Wed Oct 15 23:29:24 2008] [error] [client 72.30.215.58] File does not exist: /path_to_subdomain/top.atat.ro/public_html/SlurpConfirm404
[Wed Oct 15 23:58:06 2008] [error] [client 74.6.18.237] File does not exist: /path_to_subdomain/top.atat.ro/public_html/robots.txt
[Thu Oct 16 00:49:37 2008] [error] [client 66.249.73.133] File does not exist: /path_to_subdomain/top.atat.ro/public_html/robots.txt
[Thu Oct 16 01:24:52 2008] [error] [client 74.6.22.164] File does not exist: /path_to_subdomain/top.atat.ro/public_html/robots.txt
[Thu Oct 16 01:24:52 2008] [error] [client 72.30.215.108] File does not exist: /path_to_subdomain/top.atat.ro/public_html/SlurpConfirm404
[Thu Oct 16 04:08:17 2008] [error] [client 72.30.215.50] File does not exist: /path_to_subdomain/top.atat.ro/public_html/SlurpConfirm404
[Thu Oct 16 06:51:44 2008] [error] [client 64.1.215.165] File does not exist: /path_to_subdomain/top.atat.ro/public_html/robots.txt
[Thu Oct 16 07:27:18 2008] [error] [client 128.241.20.84] File does not exist: /path_to_subdomain/top.atat.ro/public_html/button.php?u=amenajari
[Thu Oct 16 08:00:02 2008] [error] [client 67.195.37.180] File does not exist: /path_to_subdomain/top.atat.ro/public_html/robots.txt
[Thu Oct 16 11:45:30 2008] [error] [client 85.105.154.100] File does not exist: /path_to_subdomain/top.atat.ro/public_html/favicon.ico
[Thu Oct 16 11:56:44 2008] [error] [client 79.167.114.88] File does not exist: /path_to_subdomain/top.atat.ro/public_html/favicon.ico</div>
And:
<div class='quote'>[Thu Oct 16 00:01:40 2008] [error] [client 79.167.114.88] Reserved XML Name at line 2, column 43
[Thu Oct 16 00:01:50 2008] [error] [client 79.167.114.88] Invalid document end at line 2, column 1
[Thu Oct 16 00:02:09 2008] [error] [client 79.167.114.88] XML_ERR_NAME_REQUIRED at line 50, column 22
[Thu Oct 16 00:02:37 2008] [error] [client 79.167.114.88] Invalid document end at line 2, column 1
[Thu Oct 16 00:02:37 2008] [error] [client 79.167.114.88] Invalid document end at line 2, column 1
[Thu Oct 16 00:02:41 2008] [error] [client 79.167.114.88] Reserved XML Name at line 2, column 43
[Thu Oct 16 00:03:34 2008] [error] [client 79.167.114.88] Invalid document end at line 2, column 1
[Thu Oct 16 00:03:39 2008] [error] [client 79.167.114.88] Invalid character at line 65, column 14
[Thu Oct 16 00:04:35 2008] [error] [client 79.167.114.88] Invalid document end at line 2, column 1</div>
Also, the last errors from the Apache log are:
<div class='quote'>[Sun Oct 12 23:51:00 2008] [error] an unknown filter was not added: includes
[Mon Oct 13 13:37:57 2008] [notice] Graceful restart requested, doing restart
[Mon Oct 13 13:37:58 2008] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch configured -- resuming normal operations
[Tue Oct 14 02:41:22 2008] [error] an unknown filter was not added: includes
[Tue Oct 14 06:57:13 2008] [error] an unknown filter was not added: includes
[Tue Oct 14 06:57:23 2008] [error] an unknown filter was not added: includes
[Tue Oct 14 11:54:36 2008] [notice] caught SIGWINCH, shutting down gracefully
[Tue Oct 14 11:55:48 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Oct 14 11:55:52 2008] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch configured -- resuming normal operations
[Wed Oct 15 01:19:16 2008] [error] an unknown filter was not added: includes</div>
If you have any suggestion, please point me to the right direction. I have no ideea where to look.
Thank you!
Well, I've changed the hosting but still nothing. The subdomains are working for one day then I can't reach them. I still don't know if this is an ISP (can it be?!) issue, a server or a virtualmin issue.
Have no clue.
Even more, I can acces <div class='quote'>http://atat.ro</div>, for example, but not <div class='quote'>www.atat.ro or http://www.atat.ro</div>.
And, of course, the sites are available through proxies most of the times.
Is really annoying... anyway, I'll be changing the ISP these weeks, too; hopefully I'll have access to my own sites after that :)
Indeed, hopefully you have more luck with the new ISP!
Yeah, all the addresses you mentioned above work great for me.
Unless it's some kind of firewall or content filter on your home PC or router, I can only imagine that something with your ISP is causing the issue.
-Eric
Well, this will make me look more dumb then I already am, but hopefully other people will learn something from this.
I can only say: <u>God bless you, Andrey</u>, for you mention the word router above. I've made some research on the router my ISP gave me and found out that many people from the network are complaining (Vodafone-HOL, Greece, Athens). So I've changed the router.
I'm still going to change the ISP, since they really suck, but the good news is that I do have access to all websites and their sub-domains. Everything works perfect regarding the virtualmin.
I've also installed the Simple DNS plus on my home PC to make sure the ISP will not forget my sites IPs.
Again, thank you very much!
Hey, that's great, I'm glad you got it!
Every once in awhile, routers produce some really odd issues that are a pain in the butt to track down.
Apparently, you found one of those routers!
Again, I'm glad you got it, thanks for posting the update.
-Eric