This is my base URL on Config/App: https://pantradeglobal.com/raymond_new_pantradeglobal/public
This is my htaccess on root folder:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ raymond_new_pantradeglobal/public/$1 [L]
</IfModule>
<FilesMatch "^.">
Require all denied
Satisfy All
</FilesMatch>
This is my hataccess on public folder:
# Disable directory browsing
Options -Indexes
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([sS]*)$ /index.php/$1 [L,NC,QSA]
# Ensure Authorization header is passed along
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
ErrorDocument 404 index.php
</IfModule>
# Disable server signature start
ServerSignature Off
# Disable server signature end
It works but the URL becomes very ugly: 
I set it up like this because i use a web hosting that can’t set the document root for the main domain, (it can only set document root for the subdomains). Is there a way i can make so the base URL in Config/App as https://pantradeglobal.com/ ? so the URL becomes https://pantradeglobal.com/web/gogogyes_new_new instead of https://pantradeglobal.com/raymond_new_pantradeglobal/public/web/gogogyes_new_new. Documentation on Codeigniter: https://codeigniter.com/user_guide/installation/deployment.html#deployment-to-shared-hosting-services 
The server use LiteSpeed, not Apache.
