I wanted to use IIS for this. But I have not been able to do it so far, there are always “path problems” and “file not found” errors. Is this even possible? Actually it is a web hosting for internal purpose. If you can’t do it with IIS, then how?
We would appreciate it very much if someone could give us instructions on how to do this. So far we have not found any instructions. Thank you very much!
OS: Windows Server 2025 Java Version: bundled Tomcat Version: bundled Lucee Version: 6.2.1.122
does index.htm with hello in it work out of the right directory (whatever your iis webroot is?)
does an index.cfm with <cfoutput>#now()#</cfoutput> render and show the current date/time (also chuck an application.cfc in here with this.name = "test"; defined if it throws cf error to eliminated root searching)
if error, what directory is the erroir pointing to (and what directory is iis pointing to)
The installer: (sometimes download has been corrupted)
thank you very much for the help! I will try everything right now. I have to say, I speak german and maybe I wrote something wrong. Installing Lucee is absolutely no problem, but setting up the websites (more than one) in IIS is what I’m trying to do since 2 weeks. I have no domain-names, I just have the server’s IP-address. And I wanted to save my websites under C:\HOSTING\site1, site2 etc . But anyways, I will try all what you wrote now. thanks
G’day, mate, Grüsse nach Berlin aus Bern
so here is what I did (in the pdf) the pdf
static htm works
greets to @dawesi too, and many thanks for any help!
maybe I’m just doing it wrong with “applications” in IIS. So, that’s what I don’t understand.
But, as I said, it doesn’t have to be like that. We just need 2 (or more) lucee-websites accessible on the internal network, with the IP-address and the “site-name”…
well, yes when I’m entering just the IP-address, I land on site1
c:\hosting\site1\site1\index.cfm when it should be c:\hosting\site1\index.cfm yeah? YES
[quote=“Zackster, post:9, topic:15272”] ehm, I don’t know;) help me
why are you trying to access the subdirectory when all the files are in webroot?
[/quote]
Do I have to place the websites files somewhere else, eg. inetpub or tomcat ROOT? hmm
We absolutely need more than 1 site on that server and only have this one ip-address
ok, new for me. I’m the programmer…
could you please tell me, how I would do the one or the other? dns would be possible here I guess but the port solution would be ok too
so, I set up the two websites like this, and now when testing on the server both are going to the lucee website (without style). We would have a dns server here as well. What should I do? how is this done (web host for lucee websites in internal network) usually? we don’t want something special, just the standard.
teamviewer 1 027 731 355
all depends on your local network? your router may support adding dns host entries
otherwise, you can enable dhcp / dns on your windows server and then reconfigure your router so all the clients on the network use the windows server for dns and getting ip addresses.
That does mean if the windows server goes offline, internet will go down for everyone
we have a DNS server here and we could do what should be done. We just don’t know what. I’m just the programmer and our external IT supporter company is not specialized with Internet-things and they don’t know either, that’s why I’m here;)
but how is the usual way to do something like this?
Lucee - IIS - websites with domain names (in dns server)?
Lucee - IIS - websites on different ports?
Lucee - websites in C:\lucee\tomcat\webapps\ROOT folder - Access over :8888?
…
nobody else did this ever before? the thing is that, 1. we love lucee;) 2. we have the idea to create several internal Webapps and don’t want to buy for an extra Lucee-Hosting on the web…
Thank you for supporting us!
So, I’ve done it.
Goal: to host multiple Lucee websites on an internal Windows server.
After installing Lucee and IIS as standard, I set up the websites as follows:
Here’s an example with two websites. For the bindings, I entered the server’s IP address and port 80, and then a host name that I recorded on the DNS server. I did the same for the second website, but with a different host name. Running the pages on different ports didn’t work for me; only the solution with the host names worked.
Thank you so much for your help, Zac and dawesi. Our entire staff is infinitely grateful! and that’s worth much more than some money… haha, no seriously, when we can we will support. cheers