Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: simonsinaga on November 02, 2020, 04:02:37 AM

Title: cant access my website with ip public
Post by: simonsinaga on November 02, 2020, 04:02:37 AM
Hi. I have a problem while access my website on htdocs folder using ip public, the result is 404 not found. But when i access my CWP with ip public it's works. How to fix it.

Thanks
Simon
Title: Re: cant access my website with ip public
Post by: Igor S. on November 10, 2020, 04:35:56 PM
Hi, you must using a domain name. Public IP gets content from /usr/local/apache/htdocs/ and I would not recommend using it.
You can also use link like http://ip/~user/ where user is the website's owner in your system