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) is link to Wix
i’ve created .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 .com, the directory appears fine (i think) :

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

could it be the htaccess issue?

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

Appreciate if there’s any pointers or assistance.



.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 ’ 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 - 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.