Author Topic: Can't see users website via http://ip/~user  (Read 6276 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can't see users website via http://ip/~user
« on: February 20, 2018, 07:21:59 PM »
Hi,

I installed new server. I open a new user and create some files in public_html directory.
I tried to go to http://ip/~user and it is working fine.

I created a new user, but now when I try to go to his website via http://ip/~user2 I got 404 error.

My server is running on Amazon, I activated the NAT Local IP configuration and rebuild the Apache vHosts' but still got this error.

Please help me to solve it.

Thank you !

Offline
*
Re: Can't see users website via http://ip/~user
« Reply #1 on: February 22, 2018, 01:12:26 PM »
Hi,

Still need help :\

Offline
*
Re: Can't see users website via http://ip/~user
« Reply #2 on: February 25, 2018, 07:32:55 PM »

I created a new user, but now when I try to go to his website via http://ip/~user2 I got 404 error.

My server is running on Amazon, I activated the NAT Local IP configuration and rebuild the Apache vHosts' but still got this error.


On my Host, also using NAT, it is not allowed to use the IP, I got this feedback from support:
Port 80 can be opened using a reverse proxy approach. You will need to provide your domain name if you want it opened.

Offline
*
Re: Can't see users website via http://ip/~user
« Reply #3 on: April 13, 2018, 08:10:09 PM »
Edit your hosts file and add the following line

Code: [Select]
SERVER_IP_ADDRESS       YOUR_DOMAIN_NAME
If you are using Windows you can find it here: C:\Windows\System32\drivers\etc
You have to open it as administrator.

When finished don't forget to delete the above line from your hosts file.
« Last Edit: April 13, 2018, 08:13:11 PM by vtheod »