ISPConfig personal DNS record

Discussion in 'General' started by pedropalanca, Dec 7, 2005.

  1. pedropalanca

    pedropalanca New Member

    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.
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    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:

    You must create a web site for culturistas.net! As domain you should enter culturistas.net instead of ns1.debsrv.com.
     
  3. pedropalanca

    pedropalanca New Member

    Sorry, I have explained myself badly.

    In Management -> Server -> Settings::

    [​IMG]
    and
    [​IMG]

    In ISP Management:

    [​IMG]
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    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).
     
  5. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Are you sure your host name is www.ns1.debsrv.com? Just a hint, it's not really important...
     
  6. pedropalanca

    pedropalanca New Member

    mmm ok, in my domain register i modify:

    [​IMG]

    ** the adress of 2) is www.culturistas.net.

    is correct?
     
  7. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Looks correct. maybe you want to add also an MX record.
     
  8. pedropalanca

    pedropalanca New Member

    Well, but when i open http://culturistas.net go to /var/www no to /var/www/web*/web/ why?

    thanks for the help admins.
     
  9. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Do you have a co domain culturistas.net (with empty host!) in the website www.culturistas.net ?
     
  10. pedropalanca

    pedropalanca New Member

    is not empty till.

    [​IMG]
     
  11. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Edit the co-domain, make the host empty and save it.
     
  12. pedropalanca

    pedropalanca New Member

    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 )
     
  13. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    These are namebased vhosts. You canot access them by IP! You will have to wait until your DNS records are propagated and working!
     
  14. pedropalanca

    pedropalanca New Member

    then now everything is correct? only I have left to hope?

    [​IMG]
     
  15. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Is /etc/apache2/vhosts/Vhosts_ispconfig.conf included in your main httpd.conf?
     
  16. pedropalanca

    pedropalanca New Member

    i type in /etc/apache2/httpd.conf and /root/ispconfig/httpd/conf/httpd.conf

    Code:
    Include "/etc/apache2/vhosts/Vhosts_ispconfig.conf"
    
    but don't runs
     
    Last edited: Dec 8, 2005
  17. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What do you mean with that? You typed it in manually in both files?

    Please post the output of
    Code:
    httpd -V
     
  18. pedropalanca

    pedropalanca New Member

    Code:
    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"
    
     
  19. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Your Apache configuration file is /etc/apache2/apache2.conf. Is /etc/apache2/vhosts/Vhosts_ispconfig.conf included in there?
     

Share This Page