Getting 404 error.

#1
why am getting 404 error when i try to open server ip in a browser with out the port number. how to change that? or how to redirect that to some other page
 
#3
its a fresh install and am new to this. what you meant by 'no match'? i have just hosted a sample website to test on the server using cyber panel. domain name: (niksmedia.com) may i know where the root folder located in the server. i mean where its redirected when entering IP address on the browser
 

Unique_Eric

Administrator
Staff member
#4
For CyberPanel + LSWS environment, you can simply edit /usr/local/lsws/conf/httpd.conf file.
For example, from

Code:
<VirtualHost *:443>
DocumentRoot /usr/local/lsws/DEFAULT/html
to

Code:
<VirtualHost *:443>
Include /usr/local/lsws/conf/vhosts/niksmedia.com/vhost.conf
 
Top