Beginners question: point Domain to directory?
-
Hello all,
I am currently experimenting with Cloudron and am considering switching from my managed hosting to a server with Cloudron.Is there any way to have a domain point directly to a directory (e.g. in the surfer app)? On my current webspace I have static HTML files in some folders, which are a very simple web page. The domain simply points to the corresponding directory on my webspace. Is there something like that in Cloudron too?
best
David -
Hello all,
I am currently experimenting with Cloudron and am considering switching from my managed hosting to a server with Cloudron.Is there any way to have a domain point directly to a directory (e.g. in the surfer app)? On my current webspace I have static HTML files in some folders, which are a very simple web page. The domain simply points to the corresponding directory on my webspace. Is there something like that in Cloudron too?
best
David -
Hello all,
I am currently experimenting with Cloudron and am considering switching from my managed hosting to a server with Cloudron.Is there any way to have a domain point directly to a directory (e.g. in the surfer app)? On my current webspace I have static HTML files in some folders, which are a very simple web page. The domain simply points to the corresponding directory on my webspace. Is there something like that in Cloudron too?
best
David@David-0 yes, if you cleverly configure things.
Cloudron is based on individual apps tied to domains or subdomains, not directories, however, what you're looking to do can be configured with a single Surfer app to host your HTML files in various directories, and then you can install the Proxy App on a bare domain to proxy to the Surfer App address/dir or "Upstream URI".
For example:
static.domain1.com/dir1 for the Surfer App with any number of /dir2, 3, 4, 5...domain1.com for the App-Proxy App(s) pointing to static.domain.com/dir1, 2, 3, 4, 5
use docs.cloudron.io to see how to configure both surfer and the app-proxy
-
@David-0 Is your use case to have many directories named say static1, static2, static3 etc and have websites name
static1.domain.com,static2.domain.com,static3.domain.com?@girish said in Beginners question: point Domain to directory?:
@David-0 Is your use case to have many directories named say static1, static2, static3 etc and have websites name
static1.domain.com,static2.domain.com,static3.domain.com?Currently, I have several directories on my webspace and a few domains with different TLDs pointing to each of them:
namedomain.de,namedomain.org,namedomain.infoetc.@robi What you're suggesting sounds interesting. I would definitely have a look into that. Thanks!
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login