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
  #1  
Old 2nd March 2008, 15:30
acreph acreph is offline
Junior Member
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default resolve problem, my domain dont resolve

i am install Linux with Centos 5.1 Perfect Server and iam install ISPConfig. But my nameserver and domain dosnt work.

www.mydomain.com - (main domain)
ns1.mydomain.com -> 88.248.x.y
ns2.mydomain.com -> 88.248.x.y

www.herdomain.com
ns1.mydomain.com
ns2.mydomain.com


i am register NS.
(
ns1.mydomain.com -> 88.248.x.y
ns2.mydomain.com -> 88.248.x.y
)

iam both add use DNS Maneger to ISPConfig


isp.mydomain.com
-------------------------------------------------------
$TTL 86400
@ IN SOA ns1.mydomain.com. admin.mydomain.com. (
2008030222 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
NS ns1.mydomain.com. ; Inet Address of name server 1
NS ns2.mydomain.com. ; Inet Address of name server 2
;

MX 10 ns1.mydomain.com.
MX 10 mail.mydomain.com.

mydomain.com. A 88.248.x.y
mail A 88.248.x.y
ns1 A 88.248.x.y
www A 88.248.x.y

pop3 CNAME mail.mydomain.com.
webmail CNAME www.mydomain.com.
sql CNAME www.mydomain.com.
smtp CNAME mail.mydomain.com.

mydomain.com. TXT "v=spf1 a mx ptr ~all"
-------------------------------------------------------



isp.herdomain.com
-------------------------------------------------------------
$TTL 86400
@ IN SOA ns1.mydomain.com. admin.hotmail.com. (
2008030213 ; serial, todays date + todays serial #
28800 ; refresh, seconds
7200 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;
NS ns1.mydomain.com. ; Inet Address of name server 1
NS ns2.mydomain.com. ; Inet Address of name server 2
;

MX 10 mail.herdomain.com.

herdomain.com. A 88.248.x.y
www A 88.248.x.y
mail A 88.248.x.y

pop3 CNAME mail.herdomain.com.
webmail CNAME www.herdomain.com.
sql CNAME www.herdomain.com.
smtp CNAME mail.herdomain.com.

herdomain.com. TXT "v=spf1 a mx ptr ~all"
--------------------------------------------------------------

resolv.conf
------------------------------------------
search mydomain.com
search localdomain
nameserver 195.175.39.39 (my internet service provider dns)
nameserver 195.175.39.40 (my internet service provider dns)
-------------------------------------------


named.conf
-----------------------------------------------
options {
pid-file "/var/named/chroot/var/run/named/named.pid";
directory "/var/named/chroot/var/named";
auth-nxdomain no;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "x.248.88.in-addr.arpa" {
type master;
file "pri.x.248.88.in-addr.arpa";
};
zone "mydomain.com" {
type master;
file "pri.mydomain.com";
};
zone "herdomain.com" {
type master;
file "pri.herdomain.com";
};
--------------------------------------------------

my global ip is = 88.248.x.y
my local ip is = 192.168.2.200
my open ports = 21,22,23,53,80,81,110,143,443


/etc/hosts
------------------------------------------
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.2.200 ns1.mydomain.com ns1
::1 localhost6.localdomain6 localhost6
---------------------------------------------------

Vhosts_ispconfig.conf
-----------------------------------------------------------
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.2.200:80
<VirtualHost 192.168.2.200:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 192.168.2.201:80
<VirtualHost 192.168.2.201:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.herdomain.com:80
######################################
#
#
<VirtualHost 192.168.2.200:80>
ServerName www.herdomain.com:80
ServerAdmin webmaster@herdomain.com
DocumentRoot /var/www/web16/web
ServerAlias herdomain.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web16/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
Alias /error/ "/var/www/web16/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web16/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web16/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: www.mydomain.com:80
######################################
#
#
<VirtualHost 192.168.2.200:80>
ServerName www.mydomain.com:80
ServerAdmin webmaster@mydomain.com
DocumentRoot /var/www/web15/web
ServerAlias mydomain.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ErrorLog /var/www/web15/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
Alias /error/ "/var/www/web15/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web15/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web15/user/$1/web/$3
</VirtualHost>
#
#
#
----------------------------------
thank you for help and sory for my english
Reply With Quote
Sponsored Links
  #2  
Old 3rd March 2008, 10:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Did you create glue records for mydomain.com at your registry? If a domain shall be its own nameserver, you need glue records.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd March 2008, 10:45
acreph acreph is offline
Junior Member
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i dont know how i will create glue record. can you show me the way?
Reply With Quote
  #4  
Old 3rd March 2008, 19:06
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

You can ask your registrar, he should be able to help you.
__________________
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
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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Problem with postfix config (CatchAll,alias) stefanr Installation/Configuration 26 13th August 2007 19:32
Problem with Domain and Statistic thgenzel General 1 18th January 2007 07:45
SSL related problems senzapaura Installation/Configuration 45 25th March 2006 14:15


All times are GMT +2. The time now is 18:53.


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