Adding a Website

Posted by TheCyanSpartan 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Adding a Website
April 05, 2018 11:16PM
So I plan to make a PirateBox soon but I want to know, if I make a website in HTML can I upload it to the PirateBox and have it be a searchable domain? If so how hard would it be to do it?
Re: Adding a Website
April 11, 2018 08:28PM
what do you mean with
Quote

have it be a searchable domain
?

Like you have piratebox.lan and example.com on the same box. Yes this is possible with some slight configuration changes in the lighttpd.conf.

best regards Matthias
Re: Adding a Website
May 04, 2018 09:16PM
Tryed it like that:

$HTTP["host"] != "pirate.box" {
url.redirect = (
"^/(.*)$" => "[pirate.box];
)
}


I placed the Files at /srv/http/ but he redirects me to piratebox.lan :/

Is there another config file?
Fynn
Re: Adding a Website
May 04, 2018 09:17PM
Fynn Wrote:
-------------------------------------------------------
> Tryed it like that:
>
> $HTTP["host"] != "pirate.box" {
> url.redirect = (
> "^/(.*)$" => "[pirate.box];
> )
> }
>
> I placed the Files at /srv/http/ but he redirects
> me to piratebox.lan :/
>
> Is there another config file?
Re: Adding a Website
May 07, 2018 07:12PM
Fynn, where did you place that configuration? Do you want to run 2 domains as well or is this a different setup?
The piratebox lighttpd configuration is in /opt/piratebox/conf/lighttpd/lighttpd.conf

best regards Matthias
Re: Adding a Website
May 15, 2018 03:00PM
Matt, i gave up on this. Its better to make subfolder on the maindomain :]
Thank you. I think its grate how you care about your Forum.