Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle indirect domain names #138

Open
timhaettich opened this issue Jan 9, 2021 · 0 comments
Open

Handle indirect domain names #138

timhaettich opened this issue Jan 9, 2021 · 0 comments

Comments

@timhaettich
Copy link

I want to host my images on my synology NAS to not waste webserver space.
For this I've setup the following setup:

files.example.com -> CName pointing to:
example.synology.me -> DDNS pointong to my IP:
Port forward 80 to 80

I can open the webinterface through both the example.com and synology.me URL, but trying to use ShareX results in this error:

Error message:
Unable to connect to the remote server

Request URL:
https://timothylh.synology.me/upload.php

Stack trace:
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at ShareX.UploadersLib.Uploader.SendRequestFile(String url, Stream data, String fileName, String fileFormName, Dictionary`2 args, NameValueCollection headers, CookieCollection cookies, HttpMethod method, String contentType, String relatedData)

Both when pointing to example.com and synology.me

How would I need to set this up? Or could the code be changed to support this?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant