I am stuck and don’t know what’s wrong. Here is what I have done so far:
Added IPs in Linux
Graceful restart in Webadmin → IPs showed up
Created a new website in Cyberpanel
Created listeners in Webadmin for both port 80 and 443
For the 443 listener, added
/usr/local/lsws/conf/vhosts/MYDOMAIN/privkey.pem
/usr/local/lsws/conf/vhosts/MYDOMAIN/fullchain.pem
Graceful restart in Webadmin
Installed Wordpress in Cyberpanel
When I visit the IP, I get a 404 page, so it looks to me like it’s not routed properly. A Wordpress site should show up. Am I missing something?
I am stuck and don’t know what’s wrong. Here is what I have done so far:
Added IPs in Linux
Graceful restart in Webadmin → IPs showed up
Created a new website in Cyberpanel
Created listeners in Webadmin for both port 80 and 443
For the 443 listener, added
/usr/local/lsws/conf/vhosts/MYDOMAIN/privkey.pem
/usr/local/lsws/conf/vhosts/MYDOMAIN/fullchain.pem
Graceful restart in Webadmin
Installed Wordpress in Cyberpanel
When I visit the IP, I get a 404 page, so it looks to me like it’s not routed properly. A Wordpress site should show up. Am I missing something?
I figured out that I need to add the IP to the listener to be able to reach the website directly through the IP. That doesn’t help me though. When I open the site via domain, I am still getting a 404.
Is there the possibility of pointing to another server (which is on the same network), using a subdomain, in CyberPanel?
Ex: I have a Cyber server on IP 192.168.10.50 and I want the CybePanel to point to the other server using the srvcloud.mydominio.com subdomain, in 192.168.10.51
I have followed the tutorial step by step and everything seems correct.
When I visit the IP, I get a 404 page, in Cyberpanel new site show main ip,… not new ip.
I suppose that need change some file and add new ip to assign this to new site, but where?
Am I missing something?
I get this with ip a
[almalinux@vps-xxxxxxxxx ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether fa:16:3e:fd:38:10 brd ff:ff:ff:ff:ff:ff
inet xxx.xx.xx.xxx/32 scope global noprefixroute eth0 (aditional ip)
valid_lft forever preferred_lft forever
inet xx.xx.xxx.xxx/32 scope global dynamic noprefixroute eth0 (main ip)
valid_lft 66203sec preferred_lft 66203sec
inet6 2001:41d0:304:200::869/56 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fefd:2910/64 scope link noprefixroute
valid_lft forever preferred_lft forever
A Website can have multiple IP addresses when you hosted it at multiple locations. Why? It can be for load balancing or redundancy… Or to serve web pages based on the user location etc… If you are using Linux, you can use tools like dig to get DNS information for a specific website.
No, I got no help so my solution was to switch to CWP.
If later on the Cyberpanel team implements this in the panel to make it easy to do I might come back.