
4th February 2009, 22:25
|
|
Member
|
|
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Issues with MyDNS and ISPConfig 3.0.0.8
I am having some issues. I followed the Ubnuntu 8.04 instructions on installing, but it shows DNS-Server is Offline in ISPConfig. I believe it is running though can't verify it.
Also, when I setup virtual hosts, they are not directing to the correct virtual host directory, they are just going to the first virtual host on that IP (I have two seperate IP addresses). So the first vhost for example is example.com, second is example2.com, but it is going to example.com's website instead. This is doing the same on both IP addresses. I am not sure if this is a DNS issue or not. I have not setup any DNS entries either as I can't find directions to the proper procedure.
Any help would be great!
Thanks,
Corey
|

5th February 2009, 10:01
|
|
Junior Member
|
|
Join Date: Jul 2007
Location: Blagoevgrad, Bulgaria
Posts: 12
Thanks: 35
Thanked 1 Time in 1 Post
|
|
Vhosts
I have similar problem with virtual hosts. It appears when setting up a site (vhost) I choose IP address (one server with one IP) from drop down menu. Then all domains point to one site (every domain shows the same site content). When I choose a star * instead of IP, everything works fine (sites show normally).
Almost fine, because then I get apache error at the server startup:
Code:
[error] Virtual Host *:80 --mixing * ports and non-* ports with a NameVirtualHost address is not supported...
So when shall we choose an IP and when a star?
the server is Debian Etch
Last edited by peterspoon; 5th February 2009 at 10:04.
|

5th February 2009, 17:09
|
|
Member
|
|
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I get the same error for Apache2 also when loading. I haven't tried the *, just assigned it per IP address that I wanted each domain because couple of them will require SSL.
|

5th February 2009, 17:59
|
|
Member
|
|
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Well tried changing mine to an * and same thing. I get the following for error messages with Apache2:
Code:
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:21:40 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
|

5th February 2009, 21:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
Originally Posted by koltz
I am having some issues. I followed the Ubnuntu 8.04 instructions on installing, but it shows DNS-Server is Offline in ISPConfig. I believe it is running though can't verify it.
|
Try
Code:
/etc/init.d/mydns restart
Waht's in /etc/apache2/sites-available/default and in one of the other vhosts?
|

6th February 2009, 02:04
|
|
Member
|
|
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Code:
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
I have tried restarting MyDNS before including stop and start and doesn't seem to change the status in the backend. How can I verify it is running from the command line, netstat?
|

6th February 2009, 10:53
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
|
|
You have to change the lines:
NameVirtualHost *
<VirtualHost *>
to:
NameVirtualHost *:80
<VirtualHost *:80>
and then restart apache.
|

6th February 2009, 18:18
|
|
Member
|
|
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you for the post, here is what I get when I restart Apache now, and still not working on the frontend.
Code:
* Restarting web server apache2 [Tue Feb 03 17:15:02 2009] [error] (EAI 2)Name or service not known: Could not resolve host name *80 -- ignoring!
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:02 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [error] (EAI 2)Name or service not known: Could not resolve host name *80 -- ignoring!
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Feb 03 17:15:12 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
|

6th February 2009, 18:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Can you post one of the vhosts created by ISPConfig (you can find them in the /etc/apache2/sites-available directory as well)?
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 23:42.
|
Recent comments
14 hours 30 min ago
23 hours 58 min ago
1 day 48 min ago
1 day 4 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 21 hours ago
2 days 2 hours ago
2 days 3 hours ago