setting up a dns server (MYDNS)

Discussion in 'General' started by timgerr, Mar 3, 2006.

  1. timgerr

    timgerr New Member

    Are there any easy tutorials for createing (not installing) a DNS server with MYDNS?
    Thanks

    Timgerr
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  3. timgerr

    timgerr New Member

    I was thinking allong the lines of how to setup the forwared zone and stuff.
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  5. remstedt

    remstedt New Member

    "Original MyDNS Web Interface" on FC5

    I've follow the "Running a MySQL-Based DNS Server HowTo" up to page 2, and then trying to access the Web-interface - http://host/admin.php but the pages appears to be just "white", without any content!? Any suggestion on this?
     
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    In which directory did you put admin.php? The default Apache document root on Fedora is /var/www/html, not /var/www like on Debian.
     
  7. remstedt

    remstedt New Member

    ... it's in the /var/www/html
    - do I need to change anything within "admin.php"?

    thank's for your quick response.

     
  8. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  9. remstedt

    remstedt New Member

    ... still cant't Brows that "admin.php" - here is what come out from /var/log/httpd/error_log:

    Wed Apr 05 06:51:53 2006] [error] [client 83.248.120.87] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0, referer:
    www.google.se/search?hs=M8J&hl=sv&c...=http://remstedt.org/admin.php&btnG=Sök&meta=
    [Wed Apr 05 06:51:53 2006] [error] [client 83.248.120.87] PHP Warning: Unknown: Failed opening '/var/www/html/admin.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0, referer: http://www.google.se/search?hs=M8J&...=http://remstedt.org/admin.php&btnG=Sök&meta=

     
  10. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  11. remstedt

    remstedt New Member

  12. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please make sure that PHP Safe Mode is disabled in your php.ini.
     
  13. remstedt

    remstedt New Member

    hi again,
    I've since last time installed FC4, and now I can access the "admin.php" and use the Original MyDNS Web Interface, so that's great! But unfurtunately, I can't now access the Web Interface on "MyDNSConfig"!? It's just showing a white pages.
    Here are my "phpinfo.php" http://remstedt.org/phpinfo.php

     
  14. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Please check if the path and URL to the MyDNSConfig webinterace in the config.inc.php file are correct.
     
  15. remstedt

    remstedt New Member

    if you mean the: $conf["rootpath"] it seams to be correct.
    thank's anyway for your responce.

     
  16. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Anything in the Apache error log?
    In which directory did you install MyDNSConfig?
     
  17. remstedt

    remstedt New Member

    * output from error-log:
    PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line0,
    referer:http://www.google.se/search?hs=H1F&...ttp://remstedt.org/mydnsconfig&btnG=Sök&meta=
    PHP Warning: Unknown: Failed opening '/var/www/html/mydnsconfig/index.htm' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0, referer: http://www.google.se/search?hs=H1F&...ttp://remstedt.org/mydnsconfig&btnG=Sök&meta=

    * it's installed in /var/www/html/mydnsconfig
     
  18. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please post the output of
    Code:
    ls -la /var/www/html/mydnsconfig
     
  19. remstedt

    remstedt New Member

    [root@remstedt mydnsconfig]# ls -all
    total 48
    drwxr-xr-x 8 root root 4096 Apr 12 11:12 .
    drwxr-xr-x 4 root root 4096 Apr 10 07:27 ..
    drwxr-xr-x 2 root root 4096 Apr 10 07:29 cache
    -rwx------ 1 root root 280 Apr 10 07:29 index.htm
    -rw-r--r-- 1 root root 5639 Apr 10 07:29 INSTALL
    drwxr-xr-x 4 root root 4096 Apr 12 10:42 lib
    drwxr-xr-x 2 root root 4096 Apr 10 07:29 sql
    drwxr-xr-x 2 root root 4096 Apr 10 07:29 temp
    drwxr-xr-x 2 root root 4096 Apr 10 07:29 tools
    drwxr-xr-x 7 root root 4096 Apr 10 07:29 web
    [root@remstedt mydnsconfig]#

     
  20. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Ok, it's a permissions problem. Please run
    Code:
    chown -R apache:apache /var/www/html/mydnsconfig
     

Share This Page