> For the complete documentation index, see [llms.txt](https://www.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.osdeploy.com/archive/go-osdcloud.md).

# go OSDCloud

Azure Functions Go Url Shortener

I'm going to quickly detail how to make a quick and cheap URL Shortener in an Azure Function App. The goal is to use `go.osdcloud.com` subdomain to run this function. I strongly recommend reviewing the documentation at the following link

{% embed url="<https://docs.microsoft.com/en-us/azure/azure-functions>" %}

While this uses an Azure Function App, the redirect will use proxies.json, without using an API. It's important to note that this feature is only supported in Azure Functions 1.x - 3.x, and it is not supported in the current GA 4.x. My guess is that Microsoft wants to force you to subscribe to Azure API Management which is substantially more expensive (around $50 / month). You can read about Azure Functions Proxies here

{% embed url="<https://docs.microsoft.com/en-us/azure/azure-functions/functions-proxies>" %}

That said, there are a few main steps involved in getting the URL Shortener to work

{% content-ref url="/pages/0dnFoZnTXxbGXIFO7QcI" %}
[Azure Function](https://www.osdeploy.com/archive/go-osdcloud/azure-function.md)
{% endcontent-ref %}

{% content-ref url="/pages/XelSSHOoq6hBHTgH9Arm" %}
[Custom Domain](https://www.osdeploy.com/archive/go-osdcloud/custom-domain.md)
{% endcontent-ref %}

{% content-ref url="/pages/0yORD9O1eaGlvWPnVcfa" %}
[SSL Binding](https://www.osdeploy.com/archive/go-osdcloud/ssl-binding.md)
{% endcontent-ref %}

{% content-ref url="/pages/IllzkDSg4xP9ATtIwDgD" %}
[Proxies](https://www.osdeploy.com/archive/go-osdcloud/proxies.md)
{% endcontent-ref %}

## Sponsor

**OSDeploy is sponsored by** [**Recast Software**](https://www.recastsoftware.com/?utm_source=osdeploy\&utm_medium=ad\&utm_campaign=web) **and their Systems Management Tools**

{% embed url="<https://www.recastsoftware.com/?utm_source=osdeploy&utm_medium=ad&utm_campaign=web>" %}
Sponsored by Recast Software
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.osdeploy.com/archive/go-osdcloud.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
