Control Web Panel

WebPanel => Apache => Topic started by: vinko on December 10, 2014, 12:55:22 PM

Title: Display a specific home directory website at server IP
Post by: vinko on December 10, 2014, 12:55:22 PM
Hello,
first sorry for probably wrong terminology, I'm quite a newbie in the VPS world...
Is it possible to edit apache configuration so that http://xx.xx.xx.xx (server's IP address) loads a particular website I setup in /home/someuser/public_html ?
Title: Re: Display a specific home directory website at server IP
Post by: tambyra on December 10, 2014, 12:59:45 PM
Your solution would be to set a dedicated IP for one specific account in CWP, or access your website via serverIP/~username, because main (shared) IP can't access directly to public_html.
Title: Re: Display a specific home directory website at server IP
Post by: Administrator on December 15, 2014, 02:03:10 AM
you can place this website under /usr/local/apache/htdocs/ with the ownership nobody:nobody
Title: Re: Display a specific home directory website at server IP
Post by: vinko on December 18, 2014, 10:33:17 AM
you can place this website under /usr/local/apache/htdocs/ with the ownership nobody:nobody
Great, will try that!