assistance for pushing my next.js to my domain, which seems like pain :(
Answered
Turkish Angora posted this in #help-forum
Turkish AngoraOP
how can i accomplish this?
Answered by Anay-208
@Turkish Angora I've used this guide to host mine:https://medium.com/@fauzaansheikh/hosting-a-react-app-on-aws-lightsail-a-comprehensive-guide-7379731a13e3
just ignore the react.js part and run the app in the same port
just ignore the react.js part and run the app in the same port
29 Replies
If you expect people to help
You need to put effort into your questions
No one here is a mind reader
Turkish AngoraOP
well, i want to host my next.js project on an domain from my ubuntu server
however, ive not used nginx in a while, and i dont know how i can accomplish the task
@Turkish Angora I've used this guide to host mine:https://medium.com/@fauzaansheikh/hosting-a-react-app-on-aws-lightsail-a-comprehensive-guide-7379731a13e3
just ignore the react.js part and run the app in the same port
just ignore the react.js part and run the app in the same port
Answer
Turkish AngoraOP
can i add ssl to it?
@Turkish Angora can i add ssl to it?
Yes, you can use letsencrypt certificate
you can see the relevent parts
@Turkish Angora if your issue is resolved, mark my message as a solution
@Anay-208 <@1077196794590679080> if your issue is resolved, mark my message as a solution
Turkish AngoraOP
i have an new issue
for some reason, when i build alot of things are erroring
^^^^ wasnt an issue 3 hours ago
Turkish AngoraOP
The error message clearly says whats wrong...
Turkish AngoraOP
yea but it worked 4 hoursa go
it didnt error everywher3e
i havent modified a single part of the code
do i delete .next and try to rebuild?
@Turkish Angora do i delete .next and try to rebuild?
you can try that
and then try fixing the error
Turkish AngoraOP
i fixed the error, however im having some issues
this happened after i pushed my code to github
i think its cause of my provider file
yea i forgot to use "use client" in my provider file
@Turkish Angora i have an new issue
Kindly open a new post for a new issue