Results 1 to 7 of 7

Thread: sub.domain.com doesn't work, but domain.com/sub works fine.

  1. #1
    Join Date
    Nov 2017
    Posts
    7

    Lightbulb sub.domain.com doesn't work, but domain.com/sub works fine.


  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,276
    Hello,

    According to screenshots the named is not running and fail to start because of an error. You need to find out what the error is and fix it.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  3. #3
    Join Date
    Nov 2017
    Posts
    7

    service named start 2

    An error has occurred

    Details

    /sbin/service named start 2>&1





    When I installed , Server's Hostname " �server.japanmusic.ir : were

    But I changed server.japanmusic.ir

    Can not delete here : CMD_DNS_ADMIN """ �server.japanmusic.ir ""

    """""""""""""""""""""""""""

    Error Reading db file

    Details

    Can't open file /var/named/�server.japanmusic.ir.db for reading

  4. #4
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,276
    I guess you need to manually find and delete /var/named/�server.japanmusic.ir.db from disk and from /etc/named.conf
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  5. #5
    Join Date
    Nov 2017
    Posts
    7

    /etc/named.conf Permission denied

    /etc/named.conf Permission denied

  6. #6
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,276
    need to be root to modify the file

    or edit the file in file editor in directadmin at admin level.
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  7. #7
    Join Date
    Nov 2017
    Posts
    7

    /sbin/service named restart 2>&1

    /sbin/service named restart 2>&1

    plz Give me /sbin/service file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •