VPS Hosting: cgi-sys issue

Lebogang95

Active Member
Joined
Jan 26, 2019
Messages
89
Reaction score
38
Location
Benoni, Gauteng, South Africa
Hi all.
I recently purchased a VPS hosting package from domains.co.za in an attempt to host a Laravel Application there. I created a fresh cpanel account and created an index.html file in the public_html folder however whenever I try to access the site using the shared IP address found on cpanel I come across the issue attached below. I was wondering if there is anyone with experience dealing with this and can assist.

Moving to a shared hosting solution is not an option at the moment which is why we chose to go with the VPS hosting solution.

Screenshot 2023-08-14 at 14.45.18.png
 
Hi,

If you are trying to access a website on cpanel via the shared IP address, you would access it on https://<servers ip>/~username/ - Just make sure that "Enable mod_userdir Protection" is not ticked under the WHM "Apache mod_userdir Tweak" section.

As there can be many websites running on the same shared IP, if you try and access just the shared IP, the webserver does not know which website you want to access, hence the username being in the URL.

Alternatively, point the DNS records for the domain to the VPS and then access it via the domain url.

-Dave
 
Hi,

If you are trying to access a website on cpanel via the shared IP address, you would access it on https://<servers ip>/~username/ - Just make sure that "Enable mod_userdir Protection" is not ticked under the WHM "Apache mod_userdir Tweak" section.

As there can be many websites running on the same shared IP, if you try and access just the shared IP, the webserver does not know which website you want to access, hence the username being in the URL.

Alternatively, point the DNS records for the domain to the VPS and then access it via the domain url.

-Dave
Hi Dave. Thanks for your reply, that worked.
How can I point the DNS records for the domain to the VPS? Would I just need to buy a domain and edit the DNS records as well as the nameservers?
 
Hi,

You could buy your domain on domains.co.za and then update the DNS records to point to your VPS IP.
The domain by default will use the domains.co.za nameservers.

- Dave
 
Top
Sign up to the MyBroadband newsletter
X