|
|||
|
hello, i've just installed WHM/cPanel, and since i'll only be using it with a couple of web sites, i'd like my main server ip to point to some users's account. for example my ip is 123.123.123.123 and now i get a "There is no website configured at this address" message when i open it. instead, i'd like it to point to account user, which is right now located at 123.123.123.123/~user
how can i do that? thanks in advance |
|
|||
|
pico /usr/local/apache/conf/httpd.conf
find the first entry for your ip most likly your hostname <VirtualHost xxx.xx.xxx.xxx> BytesLog domlogs/hostname.domain.com-bytes_log ServerName hostname.domain.com DocumentRoot /usr/local/apache/htdocs </VirtualHost> change /usr/local/apache/htdocs to /home/someuser/public_html or if you httpd.conf that has a file like this <VirtualHost xxx.xx.xxx.xxx> ServerAlias hostname.domain.com </VirtualHost> remove the entry above and the user that will be displayed will the first one listed for the IP |
![]() |
| Thread Tools | |
| Display Modes | |
|
|