Urgently! - After renewing the license, websites have become inaccessible.

n3n

New member
Joined
Aug 17, 2023
Messages
3
Hi all,

License was expired on 08 Aug. Websites worked normally while the license expiring but direct admin could not be accessed.
I renewed yesterday (17 Aug) then the direct admin is accessible (I didn't do anything) but websites have become inaccessible.

Initially, when attempting to access the websites, a message displaying 'Apache is functioning normally' appeared. I proceeded to restart Apache, then the pages began displaying the message 'This IP is being shared among many domains.'

I did following the dns troubleshooting
https://docs.directadmin.com/other-...-is-functioning-normally-instead-of-my-domain

1. The IP of domain and server match
2. The virtualhost is included in the Apache configs normally.

Thank you in advance.
 
apache status ok? virtualhosts loaded? IPs added to DA? it's old installed server?

Bash:
root@cp-da:/home/agx# httpd -V
Server version: Apache/2.4.57 (Unix)
Server built:   Aug 17 2023 23:30:43
Server's Module Magic Number: 20120211:127
Server loaded:  APR 1.7.4, APR-UTIL 1.6.3, PCRE 8.39 2016-06-14
Compiled using: APR 1.7.4, APR-UTIL 1.6.3, PCRE 8.39 2016-06-14
Architecture:   64-bit
Server MPM:     event
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="/var/logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

Bash:
root@cp-da:/home/agx# systemctl status httpd
● httpd.service - The Apache HTTP Server
     Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2023-08-18 10:53:19 +07; 2h 54min ago
    Process: 17305 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
   Main PID: 5861 (httpd)
     Status: "Total requests: 1306; Idle/Busy workers 100/0;Requests/sec: 0.125; Bytes served/sec: 249 B/sec"
      Tasks: 279 (limit: 19084)
     Memory: 69.8M
        CPU: 43.005s
     CGroup: /system.slice/httpd.service
             ├─ 5861 /usr/sbin/httpd -DFOREGROUND
             ├─17310 /usr/sbin/httpd -DFOREGROUND
             └─17592 /usr/sbin/httpd -DFOREGROUND

I used `httpd -S` to see virtualhost configuration (not sure if this is correct).
Bash:
root@cp-da:/home/agx# httpd -S
VirtualHost configuration:
10.72.0.101:80         shared.domain (/etc/httpd/conf/ips.conf:13)
10.72.0.101:443        shared.domain (/etc/httpd/conf/ips.conf:22)
161.246.157.43:80      is a NameVirtualHost
         default server shared.domain (/etc/httpd/conf/ips.conf:42)
         port 80 namevhost shared.domain (/etc/httpd/conf/ips.conf:42)
         port 80 namevhost localhost (/etc/httpd/conf/extra/httpd-vhosts.conf:31)
         port 80 namevhost www.curriculum.kmitl.ac.th (/usr/local/directadmin/data/users/admin/httpd.conf:20)
                 alias www.curriculum.kmitl.ac.th
                 alias curriculum.kmitl.ac.th
 
Solved it!

What i did
- I reconfigured all IPs.
- IP management it seems IP to link didn't check "Add to Apache"

and then it works!

Thank you for your help.
 
Back
Top