Hello! I recently got a domain (################.net) for my photography and blog, and I added bloxykart.################.net on it. I am wondering how I can use HttpService:GetAsync(...) to get a string from this sub-domain. If you know how to do this, please let me know.
If you need the domain provider, I am using Google Domains.
I don’t know how to do it but your not really supposed to use offsite links on roblox that aren’t a social link so you might be banned. Also, we all know your real name now.
Im talking about returning strings (for example doing local String = HttpService:GetAsync("bloxykart.###############.net"). I have nothing set up here, and if I were to reveal what the tags were, it returns this 404:
Use either GetAsync or RequestAsync, the server must return plain text as the body (also means you can do JSON, albeit you need to use JSONDecode to turn one into a table)
You need to host a server on that domain. There are many hosting services available.
You can even host it yourself if you have an always-on computer you want to use as a server.
AWS, Heroku, GitHub Pages, Google Cloud, etc. are all examples of hosting providers. This is different from Google Domains, which really just provides a URL. Hosting providers run the code that responds to that URL.
Once you are running your server somewhere, attach your domain name to it. The specifics of this depend on your specific host.
Hopefully that gives you something to google. The last time I answered a question like this the mods closed it for being off-topic, so you might wanna go look at things like stackoverflow instead of this forum.
Anyways here’s that old answer, which talks about how to host a local server with NodeJS (which I think is more accessible that PHP personally ):
That’ll get a server running locally, but it won’t host it to the world or use your domain name yet. But it might be a good starting point.