Support Topics Documentation Slack YouTube Blog

starting nodejs script from custom domain address


(Bora Dora) #1

Hello,

Can request with url (custom domain address), pointing to “http://somedom.com/scripts/some_file.js”, be processed by nodejs exactly as public url, generated in console, with api.backendless.com do? Now server simply returns contents of file “some_file.js”.


(Arthur Dzidzoiev) #2

Hi Bora Dora,
Currently we do not support running scripts from custom domains.
Artur


(Mark Piller) #3

Hi Bora Dora,

In order to execute your server-side node.js scripts, the files must be placed into the /web/scripts directory.

In order to get a custom domain, you would need to assign a domain name to your app. The documentation for it is available at:
https://backendless.com/documentation/manage/mgmt_custom_domain.htm

Regards,
Mark