WebFaction
Community site: login faq

How can I access one of my webapps without a domain of my own. Something like:

http://<anything>.webfaction.com/<anything>

Background:

  • I have a PHP application configured that accepts a file upload from me.
  • When I activate HTTPS on the application the upload fails

" The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel"

  • This is probably because I try to upload to https://mydomain.com but the certificate is for https://*.webfaction.com (uploading to webfaction is ok because nobody sees the url and gets confused).

asked 15 Sep '11, 09:43

ampelmann
3522024
accept rate: 0%


We supply each account with a subdomain like username.webfactional.com. You can create subdomains of it if you need additional URLs, for example, dev.username.webfactional.com. If you do not have a webfactional.com subdomain on your account, please open a support ticket so we can add it back for you.

Using HTTPS with this subdomain should be no problem. You will get a name mismatch error in most browsers, because our shared certificate is for webfaction.com and not webfactional.com, but that should be the only issue.

permanent link

answered 15 Sep '11, 09:58

maryh
1.3k7
accept rate: 35%

Just a question!

...But could we not just have an <username>.webfaction.com domain. As far as I can see you're already using wildcard / shared ssl for *.webfaction.com. So this would enable using https without that the browser complain about wrong hostname.... or its not possible due that the users are distributed over different servers and ip adresses?

bye Marcel

(15 Sep '11, 12:23) marcel

No, we do not provide "username.webfaction.com" domains. If you need SSL without browser warnings, then you'll need a dedicated IP and you'll need to purchase a certificate for your domain.

(15 Sep '11, 12:29) seanf

@seanf so there is no way use the this subdomain workaround because the ssl is for webfaction.com and the subdomains are on webfactional.com Thanks for the answer.

(15 Sep '11, 13:22) ampelmann

That's correct.

(15 Sep '11, 13:38) seanf
1

well then... hypothetical webfaction could buy a *.webfactional.com wildcard ssl and it would work, right? or are there any technical limitation? I'm just interested :-)

(15 Sep '11, 14:27) marcel

As a follow-up: as this is for my application and not for end users, I am trying to accept the name difference as long as webfaction.com is the certificate owner, see the question on stackoverflow

(15 Sep '11, 14:38) ampelmann
1

@marcel: we have no plans to do that at this time. See here for a prior discussion on that subject.

(15 Sep '11, 14:51) seanf
showing 5 of 7 show 2 more comments
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×128
×69

question asked: 15 Sep '11, 09:43

question was seen: 4,481 times

last updated: 15 Sep '11, 14:51

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM