Subdomain installation issue (Domain link to wix / subdomain on hostgator)

Hi all, sorry, i’m not too technical savvy, i’ll try to explain as best as i can

i had successfully install Yourls on directory before (eg. www .example .com/shortener) , hence i know a little bit on the installation process

Now i’m helping a friend to do a installation, his domain (domain/host on hostgator)
www.abc.com is link to Wix
i’ve created short.abc .com and redirect back to Hostgator (from wix)
i’ve modified config.php and also created the db accordingly, and uploaded to Hostgator
if i access short.abc .com, the directory appears fine (i think) :

but if i try to access short.abc .com/admin
it will gave a 500 error.

could it be the htaccess issue?

# BEGIN YOURLS
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /yourls-loader.php [L]
</IfModule>
# END YOURLS

Appreciate if there’s any pointers or assistance.

Thanks!

Regards,

.htaccess looks fine

Check this page: Troubleshooting first steps · YOURLS/YOURLS Wiki · GitHub

Hi ozh, i still cant seem to find the issue, wonder if you’re able to assist?

1)the config looks fine?
2)There isnt any related error in Apache error log too.
3) Inspector on the site shows ’ xxxx.xxx.com.xx/:1 Failed to load resource: the server responded with a status of 500 ()’

What is the actual site URL ?

check this image in dropbox for the actual site url (i’ll remove it on my end later)

Appreciate your assist.

Your problem seems to be a PHP config. Whenever you access a PHP file, including one that shouldn’t do anything, you have an error 500, see for instance yoursite.com/includes/version.php - which should silently do nothing (example)

So, not a YOURLS problem… Something you’ll want to check with your server admin I guess.

Appreciate & thanks! Will look into it.