Author Topic: Domain points to /usr/local/apache/htdocs instead of home/user/public_html  (Read 763 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
I think I messed up, I'm about to delete this thing for the last time, I set user permissions then lost access to the public_html
My site loads the default page from /usr/local/apache/htdocs instead of the index.html in home/user/public_html
Eve if I delete that index file in home/user/public_html it will show Index of /webftp_simple/

I added an index.html to my home/user/public_html directory which was working fine, but not now, I'm stressed big time.

Offline
****
1) I hope server hostname and domain name is not same

2) hope you havent installed additional apache. (yum remove httpd)

3) reinstall cwp apache (yum reinstall cwp-httpd)

4) rebuild apache vhost.

Offline
*
Any hostname I put in gives an error (ERROR: You don't have a valid hostname set!)
It doesn't matter if it's the same as or different to it still throws that error, anyway I got completely lost with this http/https puzzle.

Think rebuilding apache vhost screwed it up.

I'm using a subdomain which was working fine, I had it behind auto ssl etc etc now it's mixed up again.

My hostname is clients.domain.com on the vps
I set the hostname in the cwp panel to scr1.clients.domain,com still errors.
Jesus shoulda just bought cpanel or something.
Sorry a bit stressed been at it for at least 12 hours.
The whole point was to get blesta installed,
Had it all working then one click and it's gone wonky.
« Last Edit: March 13, 2018, 07:19:19 PM by emar »