Domains not working after configuring ISPConfig

Discussion in 'Installation/Configuration' started by jchiera, Mar 15, 2011.

  1. jchiera

    jchiera New Member

    Hello, I have purchased the ISPConfig 3 manual today and I was using it to help me configure my web server. Let me explain what I was planning on doing. I wanted to have a site for my gaming clan (brl-clan.com <- I purchased this domain through godaddy) and a guild for my friend (forgedsouls <- I did not purchase this domain). I also wish to set up an email server too. I went through just about every page reading the information and following along. I made DNS records. I made a site where the domain is forgedsouls.com and the Auto-Subdomain is www. Under the Domains tab I have my domain forgedsouls.com and my correct client selected. But when I type in www.forgedsouls.com I do not see the ISPConfig welcome message. But when I type in brl-clan.com I do. Also when I try to access phpmyadmin through br-clan.com/phpmyadmin I get this error; Existing configuration file (./config.inc.php) is not readable. Another prolbem I am having is that I have squirrelmail installed and when I used to go to brl-clan.com/webmail I used to get the log in screen for Squirrlemail and I would get an error about my connection to IMAP Server dropped. But, now all I get i a blank screen and I can't do anything. Is there something else I have to configure? Or how about through the Godaddy DNS settings for my domain I purchased, or what.

    EDIT: I forgot to mention that I used this guide here; http://www.howtoforge.com/perfect-server-centos-5.5-x86_64-ispconfig-3

    -Thank You
     
    Last edited: Mar 15, 2011
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please select the IP address in the website settings instead of *. If the IP address dont show up in the list, add iot under system > server IP first.
     
  3. jchiera

    jchiera New Member

    Okay, I will try this. Thank you. But, what IP should I use? My Local IP (192.168.1.103) or my ISP IP (67.240.97.233 ). Also, if I want to have 2 sites do I need 2 IPs?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The local IP address.

    No, not for http. Only i you activate SSL (https), then you need a dedicated IP per website.
     
  5. jchiera

    jchiera New Member

    I used 192.168.1.103 for my IP for forgedsouls.com. It still does not bring me to my ISPConfig welcome page. www.brl-clan.com, however does.
     
  6. jchiera

    jchiera New Member

    Is there something else that I need to do? I really would like to use ISPConfig because of the email features and I can make multiple websites without buying multiple domain name through Godaddy.
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Code:
    server1:~# dig forgedsouls.com
    
    ; <<>> DiG 9.6-ESV-R1 <<>> forgedsouls.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53158
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;forgedsouls.com.               IN      A
    
    ;; ANSWER SECTION:
    [COLOR="Red"]forgedsouls.com.        600     IN      A       82.98.86.167[/COLOR]
    
    ;; Query time: 79 msec
    ;; SERVER: 8.8.8.8#53(8.8.8.8)
    ;; WHEN: Thu Mar 17 21:09:12 2011
    ;; MSG SIZE  rcvd: 49
    
    server1:~# dig www.brl-clan.com
    
    ; <<>> DiG 9.6-ESV-R1 <<>> www.brl-clan.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53407
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;www.brl-clan.com.              IN      A
    
    ;; ANSWER SECTION:
    www.brl-clan.com.       3600    IN      CNAME   brl-clan.com.
    [COLOR="Red"]brl-clan.com.           3600    IN      A       67.240.97.233[/COLOR]
    
    ;; Query time: 251 msec
    ;; SERVER: 145.253.2.75#53(145.253.2.75)
    ;; WHEN: Thu Mar 17 21:09:24 2011
    ;; MSG SIZE  rcvd: 64
    
    server1:~#
    forgedsouls.com pointsto a wrong IP. You must change the DNS record.
     
  8. jchiera

    jchiera New Member

    Should I change the DNS record in the Godaddy configuration? Or do you mean a file in CentOS? Also, I did not purchase forgedsouls.com from Godaddy. I need to purchase a domain name? I thought ISPConfig allowed me to make domain names without purchasing them, but thinking about it now that would not make sense.
     
  9. falko

    falko Super Moderator ISPConfig Developer

    Yes, you must register/buy a domain name. You cannot make up domain names on your own and create them through ISPConfig.
     
  10. jchiera

    jchiera New Member

    Sorry I did not respond for a while. I purchased the domain shenangiansguild.com from godaddy. I tried putting my NameServers I set in ISPConfig under the DNS tab (ns1.brl-clan.com and ns2.brl-clan.com) and when I try to set those it says they are not registered and I put them into my DNS records. When I go to shenanigansguild.com I get the ISPConfig Welcome screen, but where do I go to put a forum board on it? I am using CentOS and I looked in /var/www/html but I did not see a folder for shenanigans guild or anything.

    What do I need to edit in my DNS Records from the GoDaddy site so I can use my DNS Servers, email, etc?

    Also, I still get an error when I go to www.brl-clan.com/phpmyadmin and www.shenanigansguild.com/phpmyadmin . This is what the error says
    Code:
    phpMyAdmin - Error
    
    Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
    This is what my error.log file in /var/log/ispconfig/httpd/shenanigansguild.com looks like
    Code:
    [Mon Mar 21 22:52:29 2011] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client1/web1/web/favicon.ico
    [Mon Mar 21 22:52:29 2011] [error] [client 192.168.1.1] File does not exist: /var/www/error/404.html
    [Mon Mar 21 22:52:29 2011] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client1/web1/web/favicon.ico
    [Mon Mar 21 22:52:29 2011] [error] [client 192.168.1.1] File does not exist: /var/www/error/404.html
    [Mon Mar 21 22:52:32 2011] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client1/web1/web/favicon.ico
    [Mon Mar 21 22:52:32 2011] [error] [client 192.168.1.1] File does not exist: /var/www/error/404.html
    [Mon Mar 21 22:53:08 2011] [error] [client 192.168.1.1] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_9gvi4sm02nft7b4pqb8cqeqgj82p7sh4, O_RDWR) failed: Permission denied (13) in /usr/share/phpmyadmin/libraries/session.inc.php on line 87
    [Mon Mar 21 22:53:08 2011] [error] [client 192.168.1.1] PHP Warning:  Unknown: open(/var/lib/php/session/sess_9gvi4sm02nft7b4pqb8cqeqgj82p7sh4, O_RDWR) failed: Permission denied (13) in Unknown on line 0
    [Mon Mar 21 22:53:08 2011] [error] [client 192.168.1.1] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
    [Mon Mar 21 22:53:16 2011] [error] [client 192.168.1.1] PHP Warning:  require_once(../config/config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in /usr/share/squirrelmail/functions/global.php on line 105
    [Mon Mar 21 22:53:16 2011] [error] [client 192.168.1.1] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '../config/config.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/squirrelmail/functions/global.php on line 105
    [Mon Mar 21 22:53:18 2011] [error] [client 192.168.1.1] PHP Warning:  require_once(../config/config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: Permission denied in /usr/share/squirrelmail/functions/global.php on line 105
    [Mon Mar 21 22:53:18 2011] [error] [client 192.168.1.1] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '../config/config.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/squirrelmail/functions/global.php on line 105
    [Mon Mar 21 22:53:49 2011] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client1/web1/web/favicon.ico
    [Mon Mar 21 22:53:49 2011] [error] [client 192.168.1.1] File does not exist: /var/www/error/404.html
    [Mon Mar 21 22:53:49 2011] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client1/web1/web/favicon.ico
    [Mon Mar 21 22:53:49 2011] [error] [client 192.168.1.1] File does not exist: /var/www/error/404.html
    [Mon Mar 21 22:53:52 2011] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client1/web1/web/favicon.ico
    [Mon Mar 21 22:53:52 2011] [error] [client 192.168.1.1] File does not exist: /var/www/error/404.html
    [Mon Mar 21 23:07:45 2011] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client1/web1/web/favicon.ico
    [Mon Mar 21 23:07:45 2011] [error] [client 192.168.1.1] File does not exist: /var/www/error/404.html
    [Mon Mar 21 23:07:45 2011] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client1/web1/web/favicon.ico
    [Mon Mar 21 23:07:45 2011] [error] [client 192.168.1.1] File does not exist: /var/www/error/404.html
    [Mon Mar 21 23:07:48 2011] [error] [client 192.168.1.1] File does not exist: /var/www/clients/client1/web1/web/favicon.ico
    [Mon Mar 21 23:07:48 2011] [error] [client 192.168.1.1] File does not exist: /var/www/error/404.html
    [Mon Mar 21 23:07:50 2011] [error] [client 192.168.1.1] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_lnm6gnnvb0rs5btii40qcrhnav2459cc, O_RDWR) failed: Permission denied (13) in /usr/share/phpmyadmin/libraries/session.inc.php on line 87
    [Mon Mar 21 23:07:50 2011] [error] [client 192.168.1.1] PHP Warning:  Unknown: open(/var/lib/php/session/sess_lnm6gnnvb0rs5btii40qcrhnav2459cc, O_RDWR) failed: Permission denied (13) in Unknown on line 0
    [Mon Mar 21 23:07:50 2011] [error] [client 192.168.1.1] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
    [Mon Mar 21 23:08:09 2011] [error] [client 192.168.1.1] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_69rlkb7675asl68de3h00o1dkdlglghl, O_RDWR) failed: Permission denied (13) in /usr/share/phpmyadmin/libraries/session.inc.php on line 87
    [Mon Mar 21 23:08:09 2011] [error] [client 192.168.1.1] PHP Warning:  Unknown: open(/var/lib/php/session/sess_69rlkb7675asl68de3h00o1dkdlglghl, O_RDWR) failed: Permission denied (13) in Unknown on line 0
    [Mon Mar 21 23:08:09 2011] [error] [client 192.168.1.1] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
    I am not sure where my error log for PHP or my webserver is or for brl-clan.com either.

    This is my first time editing the DNS record for Godaddy and using ISPConfig
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Your document root is something like /var/www/clients/client2/web1/web - this is where you must upload your HTL files/directories.

    This guide is for ISPConfig 2, and GoDaddy's interface has changed in the meantime, but it should give you the idea: http://www.howtoforge.com/ispconfig_dns_godaddy
     
  12. jchiera

    jchiera New Member

    Okay, thank you. I found where the files for different domains are stored. I will also read the guide later and try to edit my DNS records for Godaddy. But would you happen to know how to get phpmyadmin working? I like being able to log into it and creating databases that way.
     
  13. falko

    falko Super Moderator ISPConfig Developer

    How did you install phpMyAdmin? Through the package manager, or did you install it manually for each web site?
     
  14. jchiera

    jchiera New Member

  15. falko

    falko Super Moderator ISPConfig Developer

  16. jchiera

    jchiera New Member

    Yes, this is the problem. When I go to www.shenanigansguild.com/phpmyadmin or /mysqladmin this error appears in
    Code:
    phpMyAdmin - Error
    
    Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
    It also happens when I go to www.brl-clan.com/phpmyadmin and /mysqladmin
     
  17. jchiera

    jchiera New Member

    Also, I cannot find where my PHP logs or my webserver logs are to see what they say. Is there maybe a permissions issue, or did the PHP installation get messed up?
     
  18. falko

    falko Super Moderator ISPConfig Developer

    Apache's error log is usually in /var/log/apache2 or /var/log/httpd.
     

Share This Page