Setup CNAME with my custom domain for my Discourse site

AI-generated summary

Setup CNAME with custom domain for Discourse site

Swedz wants to set up a CNAME record for their custom domain (forums) to point to their Discourse site with IP 162.243.12.227. lrossouw advises setting up a CNAME record (forum.example.com) to point to the server (server.example.com), which in turn points to the IP. However, Swedz reports that this setup is not working.

lrossouw suggests that the server IP should be set up as an A record, not in the CNAME section. Swedz confirms this and creates an A record, which solves the issue. lrossouw confirms the solution, and Swedz marks the solution in the thread.

I want my CNAME to be forums and my site IP is 162.243.12.227. How would I do this? Is there a special domain I need to point to? Because pointing to the IP isn’t working for me.

You have server.example.com with ip 162.243.12.227.

You want it to host your forum on that server so now your CNAME will be:
forum.example.com CNAME server.example.com.

I.e. you say point forum to server. Server points to the IP.

I did this a few minutes ago.
Still not working. :frowning:

I guess dns setup is off topic on this forum.

But the server ip should not be on the cname section. But somewhere else on your panel?

So I make an A record with the IP?

EDIT: This is correct. Solved. :slight_smile:

Yes, that’s correct.

You could mark solution in this thread if you wanted to?

Done, sorry. Didn’t know that was a thing ahaha