Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 18th May 2007, 19:46
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
Default

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?
Reply With Quote
Sponsored Links
  #22  
Old 19th May 2007, 11:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,034
Thanks: 826
Thanked 5,383 Times in 4,230 Posts
Default

Do you access the website by IP address or domain name?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #23  
Old 20th May 2007, 09:44
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
Default

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.
Reply With Quote
  #24  
Old 20th May 2007, 11:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,034
Thanks: 826
Thanked 5,383 Times in 4,230 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #25  
Old 21st May 2007, 07:25
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
Default

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.
Reply With Quote
  #26  
Old 21st May 2007, 09:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,034
Thanks: 826
Thanked 5,383 Times in 4,230 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #27  
Old 21st May 2007, 12:56
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
Default

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.
Reply With Quote
  #28  
Old 22nd May 2007, 10:57
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
Default

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).
Reply With Quote
  #29  
Old 22nd May 2007, 16:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #30  
Old 22nd May 2007, 20:09
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
 
Default

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!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't access the admin interface, apache lost the conf? Esuk Installation/Configuration 7 24th July 2006 11:35
Adding domains to non-ISPConfig secondary DNS servers cstone Tips/Tricks/Mods 4 19th July 2006 14:25
Postfix and fully qualified domain name threeten HOWTO-Related Questions 2 15th March 2006 21:40


All times are GMT +2. The time now is 08:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.