I have a React app deployed on IP but not in custom domain

Hi all,

I have followed serveral tutorials on deploy a react app on Linode. I have a custom domain (.dev) registered with goDaddy that is currently redirected to Linode. That process went ok.

Rigth now I a have the issue that my IP adress proveed by the server in Linode actually renders the react app but my custom domain doesn't.

I have nginx and my /etc/ngninc/mydomain.dev file is this:

server {
listen 80;
listen [::]:80;

   server_name mydomain.dev;

   root /var/www/mydomain.dev;
   index index.html;

   location / {
      try_files $uri $uri/=404;

}
}

I have followed this tutorials and guide but anything works on custom domain. Is there any restrictions with domains of type .dev? or I've missed something.

tutorials and guides that I followed:

https://www.linode.com/docs/guides/how-to-install-nginx-ubuntu-18-04/

youtube:
https://www.youtube.com/watch?v=FTyby51m0hQ
https://www.youtube.com/watch?v=KFwFDZpEzXY
https://www.youtube.com/watch?v=svEs1TafR7E

Nothing have worked for me.

thank you in advance.

1 Reply

There are no restrictions on .dev domains. Because you've omitted the domain, I can't check to see if DNS is set correctly with an A record pointing to your Linode. If you haven't used the DNS Manager to set up and Manage you DNS Records , then you may want to check those guides.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct