I've looked around the forums and found a lot of similar questions, but not exactly the same situation.
I have a Silverstripe website, that sits in the root folder and works great.
Let's says it works on www.domain.com
I created another Silverstripe website, that physically sits in a subfolder of the same server.
Let's call the subfolder domain2.
It is accessible if I go to www.domain.com/domain2/
I got the registrar to point my new domain name, www.domain2.com to the same spot.
Used GoDaddy Deluxe account Hosted Domains to redirect www.domain2.com to the subfolder.
Now I get a 500 error from the GoDaddy Apache server.
I know that my issue probably comes from the .htaccess files, but I am unsure of what I should do.
Can this work in this configuration?
Or do I have to move both to subfolders and use the .htaccess file at the root to redirect?
If so, what should it say? (knowing that I use .htaccess about once a year and forget all about it until I have to use it again; and it's been a year).
Thanks in advance.