0

I made a website using laravel 10 and inertia react js.

This page isn’t working. subdomain.myDomain.com is currently unable to handle this request. HTTP ERROR 500

And now I want to host this on Cpanel but I'm facing a problem. I put the project in public_html and modified the urls in index.php.
![If I put some text in index.php it works..] (https://i.sstatic.net/kBTve.png)

1 Answer 1

0

and i solved my problem. I had problem with builds in the public/build directory I needed to run (npm run dev) But now I ran (npm run build) locally and copied the build directory from local to the server and it is working. I want to know if it is a good way to run the build? If there is another solution please tell me......

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.