#community-help

Setting up DNS Records for Typesense Servers and SSL Configuration

TLDR michtio needed assistance in setting up DNS records for Typesense servers in AWS and configuring SSL. Jason shared steps on how to set up A Records and fetch an SSL cert for HTTPS on port 443. The user later solved his issue with Jason's help.

Powered by Struct AI

1

13
19mo
Solved
Join the chat
May 27, 2022 (19 months ago)
michtio
Photo of md5-68e2637c7df7044e63075bd8ec098420
michtio
08:14 AM
Hey everyone 👋

Would anyone be able to help me out how to setup a DNS records for the Typesense servers?
Would love to give our spun up clusters their own DNS records that can resolve the search results.

It’s spun up on AWS FYI, and DNS will be resolved through CloudFlare most likely
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:47 PM
michtio You'd have to setup A Records for each node's public IP address and that should pretty much be it
michtio
Photo of md5-68e2637c7df7044e63075bd8ec098420
michtio
03:36 PM
Without anything else? So nginx wouldn't be needed
03:36
michtio
03:36 PM
Well of course not
03:36
michtio
03:36 PM
Just maybe for the SSL on port 443, any config that needs to happen to let it run on 443?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:54 PM
You don't need nginx. You'd need to just get an SSL cert and point Typesense at it, to run HTTPS on port 443
May 30, 2022 (19 months ago)
michtio
Photo of md5-68e2637c7df7044e63075bd8ec098420
michtio
07:15 AM
Thank you Jason 👍
09:02
michtio
09:02 AM
Reading that guide --> h2o HTTP server doesn’t need anything to be set-up like sites-available/sites-enable to point the domain name through to the correct server? I’ll see how it behaves with laravel-forge and Let’s Encrypt setup 🙂
02:19
michtio
02:19 PM
Jason is it actually possible to use nginx as front for Typesense? If yes, where should the entry point at?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:19 PM
michtio h2o is an HTTP library that's built into Typesense, and doesn't have the concept of sites available / sites enabled. You don't need to configure a hostname inside of Typesense. You'd need to setup a DNS record with your hostname, pointing to the server IP that's running Typesense, and then get an SSL cert for that hostname.
03:19
Jason
03:19 PM
https://typesense-community.slack.com/archives/C01P749MET0/p1653920380745419?thread_ts=1653639281.045879&cid=C01P749MET0

Yes. You would set it to proxy calls to port 8108 on Typesense, which is Typesense's default HTTP port
michtio
Photo of md5-68e2637c7df7044e63075bd8ec098420
michtio
03:20 PM
Thanks Jason, Kishore already helped me out in DM, got my Typesense cluster up and running with SSL certs 💪

1

Typesense

Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI

Indexed 3011 threads (79% resolved)

Join Our Community