
18th May 2007, 19:46
|
|
Senior Member
|
|
Join Date: Nov 2006
Posts: 147
Thanks: 16
Thanked 6 Times in 6 Posts
|
|
Thanks Falko:
After I changed the IP address to 192.168.1.204, when I try to access the site, then it gives an Shared IP message rather than a Welcome! page:
Quote:
This IP address is shared. For access to the web site which you look for, enter its address instead of its IP.
For questions or problems please contact the server administrator.
|
Now what does this mean and where should I need to make the changes?
|

19th May 2007, 11:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
Do you access the website by IP address or domain name?
|

20th May 2007, 09:44
|
|
Senior Member
|
|
Join Date: Nov 2006
Posts: 147
Thanks: 16
Thanked 6 Times in 6 Posts
|
|
I tried to access with the domain name but it does not render anything even after I created the glue records in domain control panel (creating child nameservers pointing to the 81.216.xxx.yyy which is the static public IP of the machine) of domain registrar.
But when I try to access with the IP address, it gives Shared IP error.
My architecture is like this:
Internet-->>Cable Modem-->> Shorewall firewall on Hardware Node (a static public IP of 8.216.xxx.yyy) in the OpenVz machine and trying to have shared webhosting on other VEs in the rest of the 80 GB HDD (one of them with venet0:0 is assigned IP:192.168.1.204 and installed ISPConfig).
I hope I made my point clear. Thanks again,
Last edited by zenny; 20th May 2007 at 09:49.
|

20th May 2007, 11:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
You can not access sites in ISPConfig by IP address, you must use the domain name.
wht is the output of:
dig @localhost yourdomain.com
where you must replace yourdomain.com with the domain name of your domain that is not working.
|

21st May 2007, 07:25
|
|
Senior Member
|
|
Join Date: Nov 2006
Posts: 147
Thanks: 16
Thanked 6 Times in 6 Posts
|
|
the output is:
Quote:
# dig @localhost mydomain.com
; <<>> DiG 9.2.4 <<>> @localhost mydomain.com
; (1 server found)
;; global options: printcmd
;; connection timed out; no servers could be reached
|
However, I get the following results with dig ns mydomain.com:
Quote:
# dig ns mydomain.com
; <<>> DiG 9.2.4 <<>> ns mydomain.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9034
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;mydomain.com. IN NS
;; ANSWER SECTION:
mydomain.com. 86400 IN NS ns1.mydomain.com.
mydomain.com. 86400 IN NS ns2.differentdomain.net.
;; ADDITIONAL SECTION:
ns1.domain.com. 86400 IN A 81.216.xxx.yyy
;; Query time: 375 msec
;; SERVER: 81.216.aa.bb#53(81.216.aa.bb)
;; WHEN: Mon May 21 07:22:04 2007
;; MSG SIZE rcvd: 99
|
I could not locate what is the problem and the relevant solution? :-(
Last edited by zenny; 21st May 2007 at 07:39.
|

21st May 2007, 09:38
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
The above output means that no DNS server is started on your server.
Please start the dns server with:
/etc/init.d/bind9 start
or
/etc/init.d/named start
or similar. The exact name of the start / stop script dpends on your linux distribution.
|

21st May 2007, 12:56
|
|
Senior Member
|
|
Join Date: Nov 2006
Posts: 147
Thanks: 16
Thanked 6 Times in 6 Posts
|
|
Got the following when I tried to start the dns server:
Quote:
# vzctl exec 204 /etc/init.d/named start
Starting named:
Error in named configuration:
/etc/named.conf:3: change directory to '/home/admispconfig/ispconfig/web/multidoc/edit' failed: file not found
/etc/named.conf:3: parsing failed
[FAILED]
|
Do I need to manually create the file: /home/admispconfig/ispconfig/web/multidoc/edit ? But when I checked there is an edit directory there with several other files inside. Please suggest.
Last edited by zenny; 21st May 2007 at 13:00.
|

22nd May 2007, 10:57
|
|
Senior Member
|
|
Join Date: Nov 2006
Posts: 147
Thanks: 16
Thanked 6 Times in 6 Posts
|
|
After some search, i tried to solve the problem by following from page 1 to 3 (including an extensive reply by Falko in the thread), but the problem of non-starting dns persists.
When I manually changed the zonefiles directory from /home/admispconfig/ispconfig/web/multidoc/edit to /var/named/chroot/var/named in the /etc/named.conf, the error does not show up, but the named fails to start.
PS:I am using centos4.4 (both in HN node and also in VEs under OpenVZ).
|

22nd May 2007, 16:55
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please configure your named exactly as shown in chapter 8 on http://www.howtoforge.com/perfect_setup_centos_4.4_p4 . Then create or modify a DNS record. Does it work then?
What settings do you have on the DNS tab under Management > Server > Settings?
|

22nd May 2007, 20:09
|
|
Senior Member
|
|
Join Date: Nov 2006
Posts: 147
Thanks: 16
Thanked 6 Times in 6 Posts
|
|
Dear Falko:
I setup the server exactly as specified in the perfect setup you posted. Your guide is what I am trying to follow up from the beginning till end. Still the DNS server and smtp server does not seem to run.
The settings under DNS tab are:
BIND User: named
BIND Group: named
named.conf: /etc/named.conf
Zonefiles Dir.: /var/named/chroot/var/named
Default Ns1: ns1.mydomain.com
Default Ns2: ns2.externaldomain.com
Admin Email: myemail
Default MX: checked
I hope this info is helpful. Thanks again!
|
| Thread Tools |
|
|
| Display Modes |
Linear 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 09:10.
|
Recent comments
3 days 9 min ago
3 days 8 hours ago
3 days 11 hours ago
3 days 13 hours ago
3 days 14 hours ago
3 days 16 hours ago
3 days 17 hours ago
3 days 18 hours ago
4 days 10 hours ago
4 days 11 hours ago