View Full Version : ISPConfig personal DNS record
pedropalanca
7th December 2005, 23:26
with himself not to cause that when entering a domain it goes to the corresponding folder within the server. It always loads the page to me root (/var/www).
I have registered a domain (debsrv.com) ns1.debsrv.com and ns2.debsrv.com point to 80.33.153.147 i go to (in ISPConfig)
DNS Manager -> New Master:
- Domain (SOA): ns1.debsrv.com
- IP Adress: 80.33.153.147
(and the option 'records' -> 'A Record': i added:
- hostname: www
- ip adress: 80.33.153.147)
now i added in: ISP Manager -> New site (for domain culturistas.net) whit the server dns (this dns are configured in Management -> Server -> Settings:
- Hostname: www
- Domain: ns1.debsrv.com
- ip adrees: 80.33.153.147
- netmask: 255.255.255.0
why the domain culturistas.net go to /var/www?
Sorry for my bad english.
falko
8th December 2005, 01:41
with himself not to cause that when entering a domain it goes to the corresponding folder within the server. It always loads the page to me root (/var/www).
I have registered a domain (debsrv.com) ns1.debsrv.com and ns2.debsrv.com point to 80.33.153.147 i go to (in ISPConfig)
DNS Manager -> New Master:
- Domain (SOA): ns1.debsrv.com
- IP Adress: 80.33.153.147
(and the option 'records' -> 'A Record': i added:
- hostname: www
- ip adress: 80.33.153.147)
What are you doing??? A soa would be a domain like debsrv.com, but not ns1.debsrv.com. The A record you created is www.ns1.debsrv.com. I don't think this is what you want. And why do you want to create DNS records for debsrv.com when you want to create a web site for culturistas.net? :confused:
now i added in: ISP Manager -> New site (for domain culturistas.net) whit the server dns (this dns are configured in Management -> Server -> Settings:
- Hostname: www
- Domain: ns1.debsrv.com
- ip adrees: 80.33.153.147
- netmask: 255.255.255.0
why the domain culturistas.net go to /var/www?
You must create a web site for culturistas.net! As domain you should enter culturistas.net instead of ns1.debsrv.com.
pedropalanca
8th December 2005, 02:24
Sorry, I have explained myself badly.
In Management -> Server -> Settings::
http://img234.imageshack.us/img234/5233/ispconfig28yb.png
and
http://img234.imageshack.us/img234/4196/ispconfig37tf.png
In ISP Management:
http://img234.imageshack.us/img234/3115/ispconfig15yz.png
till
8th December 2005, 11:57
You will have to register the domain culturistas.net at a domain registry and either let them manage the DNS entrys so you will have an A record for www.culturistas.net pointing to the IP 80.33.153.147 or you set your server as authoritive nameserver for culturistas.net and add a SOA for culturistas.net in the ISPCOnfig DNS Manager.
Currently the domain culturistas.net is not reachable at all in DNS (from Germany).
falko
8th December 2005, 12:50
Are you sure your host name is www.ns1.debsrv.com? Just a hint, it's not really important...
pedropalanca
8th December 2005, 13:39
mmm ok, in my domain register i modify:
http://img235.imageshack.us/img235/8342/business9wb.png
** the adress of 2) is www.culturistas.net.
is correct?
till
8th December 2005, 15:03
Looks correct. maybe you want to add also an MX record.
pedropalanca
8th December 2005, 15:30
Well, but when i open http://culturistas.net go to /var/www no to /var/www/web*/web/ why?
thanks for the help admins.
till
8th December 2005, 15:34
Do you have a co domain culturistas.net (with empty host!) in the website www.culturistas.net ?
pedropalanca
8th December 2005, 15:49
is not empty till.
http://img234.imageshack.us/img234/820/ispconfig48tx.png
till
8th December 2005, 15:51
Edit the co-domain, make the host empty and save it.
pedropalanca
8th December 2005, 15:57
I have modified it and it happens to me the same
i looks the file /etc/apache2/vhosts/Vhosts_ispconfig.conf
and it seems that it ignores east file because when trying to accede with the IP not me redirige to /var/www/shereip
( http://80.33.153.147/vhost )
till
8th December 2005, 16:02
These are namebased vhosts. You canot access them by IP! You will have to wait until your DNS records are propagated and working!
pedropalanca
8th December 2005, 16:06
then now everything is correct? only I have left to hope?
http://img233.imageshack.us/img233/927/ispconfig54uw.png
falko
8th December 2005, 17:30
Is /etc/apache2/vhosts/Vhosts_ispconfig.conf included in your main httpd.conf?
pedropalanca
8th December 2005, 17:40
i type in /etc/apache2/httpd.conf and /root/ispconfig/httpd/conf/httpd.conf
Include "/etc/apache2/vhosts/Vhosts_ispconfig.conf"
but don't runs
falko
8th December 2005, 18:03
i type in /etc/apache2/httpd.conf and /root/ispconfig/httpd/conf/httpd.conf
Include "/etc/apache2/vhosts/Vhosts_ispconfig.conf"
but don't runs
What do you mean with that? You typed it in manually in both files?
Please post the output of httpd -V
pedropalanca
8th December 2005, 18:20
Server version: Apache/2.0.54
Server built: Oct 4 2005 07:50:10
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT=""
-D SUEXEC_BIN="/usr/lib/apache2/suexec2"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
falko
8th December 2005, 23:08
Your Apache configuration file is /etc/apache2/apache2.conf. Is /etc/apache2/vhosts/Vhosts_ispconfig.conf included in there?
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.