Hosting your own Web Server
BACKGROUND
Xara has failed to replace the moribund MSIE instance that holds it Desktop application back.
When you Preview a website, you render all your lovely work into a MSIEv11 instance and immediately find things don't work.
You can click through to a different locally installed browser and if you look at the address bar, you will see you are being served back your website through Xara-built in web server.This too sadly is so old and unsupported, it is truly worrying.
It is possible to install a web server on your local machine but i have found these to be quite complex to manage.
I recently found this clever nugget: http://fenixwebserver.com.
INTERIM SOLUTION
- Download https://github.com/coreybutler/fenix...dows-2.0.0.zip from https://github.com/coreybutler/fenix...ses/tag/v2.0.0.
- Install.
- For any of your Xara designs, Export website to a local folder, note the folder.
- Run Fenix > Web Server > New, browse to the Folder > Create.
- That's it.
You can Start/Stop/Modify Server and Launch into your default web browser.
You can have almost unlimited servers running at the same time.
The web server just handles HTML, JS and CSS, exactly what Xara delivers.
A fruitful union.
THE CLEVER BIT
You can enable a Public View and you get an SSH local tunnel from your machine to the Internet with a secure connection that can be shared with anyone (your client).
Changing things on the fly is a breeze and as you are at the top level, you can see all your published assets.
I have just completed a job that took 2 and a half days, made all the easier with this simple tool.
If I tried with Xara Cloud, i would still be there.
It is not a publishing solution but it is ideal for collaboration.
For TG, a member could set up a local folder publish to it and add the design file, all the work of seconds.
There are so many useful workflows I can realise with this.
Acorn
Re: Hosting your own Web Server
Quote:
Originally Posted by
Acorn
It is not a publishing solution but it is ideal for collaboration.
Reading your post I had the impression you'd consider it a viable solution to self-host. What are the drawbacks?
Re: Hosting your own Web Server
No, I don't suggest that. I was indicating where there were problems with Xara's Preview using MSIE.
I suggest using Fenix for a better development experience.
The public access part allows you to demo your site without having to set up a service provider and suffer caching issues with incremental changes. Xara Cloud offers similar without the ability to control the environment.
If you switch off your machine, no site. You can't do that with Xara Cloud.
Also the public pipe is a freebie and not for commercial purposes.
Acorn
Re: Hosting your own Web Server
to be fair to xara... if I open an email in MS Office 365 Outlook and I click on the option to view in a browser, it opens it in IE :rolleyes:
this despite MS's own exhortations never to use IE but use Edge; surely they at least could do better
I use Firefox as default... Edge as default browser does not apper to fix this IE issue with Outlook 365, not that I would want Edge as default...
The legacy of IE ia all around us unfortunately...
2 Attachment(s)
Re: Hosting your own Web Server
Downloaded and tried it - Wow, it's fast - pages load instantly.
Set up 2 servers - both good. All these years I've been keeping 2 extra websites for testing - don't have to pay for domain reg and hosting anymore!
Not sure about sharing with clients though - clicked the enable public view, then copy and paste link and get this dodgy looking page with a warning - click continue and get a 404 error?
Re: Hosting your own Web Server
How is this different from using Xara.Hosting
Re: Hosting your own Web Server
Quote:
Originally Posted by
Acorn
No, I don't suggest that. I was indicating where there were problems with Xara's Preview using MSIE.
I suggest using Fenix for a better development experience.
The public access part allows you to demo your site without having to set up a service provider and suffer caching issues with incremental changes. Xara Cloud offers similar without the ability to control the environment.
If you switch off your machine, no site. You can't do that with Xara Cloud.
Also the public pipe is a freebie and not for commercial purposes.
Acorn
Thanks for clarifying.
Re: Hosting your own Web Server
Quote:
Originally Posted by
handrawn
to be fair to xara... if I open an email in MS Office 365 Outlook and I click on the option to view in a browser, it opens it in IE :rolleyes:
this despite MS's own exhortations never to use IE but use Edge; surely they at least could do better
I use Firefox as default... Edge as default browser does not apper to fix this IE issue with Outlook 365, not that I would want Edge as default...
The legacy of IE ia all around us unfortunately...
i am fair to Xara. It offers a WYSIWYG experience that fails with MSIE. IE is buggy for CSS and rife with security holes.
The number of Third Parties that are blocking MSIE access is growing; this impacts Xara Widgets.
The version MiniWeb HTTP server Xara uses is somewhat stale too: https://sourceforge.net/projects/min...s/miniweb/0.8/ suggests v0.8.19 is 2007.
MS Outlook was a MS hijack rewrapped, just like MS Excel (and probably everything else). MS's codebase is somewhat legacy-bound and vast; Xara has no such excuse.
All recent changes the the Desktop applications have been fudges around the edges as I think Camelot is now a Black Box to Xara's developers. The move to Xara Cloud, using newer technologies, is acting in the same fashion but at least the Preview is no longer bound to MSIE as you have a click link to your rendered site that is actually being presented through a full web service.
What I can use Fenix for:
- Local viewing in any browser to http://127.0.1:Port so it is very fast with no upload time. No SSH as it is all local.
- One-clicking for a tunnel website with link like https://colored-pandabear-99.loca.lt (P.S. if you click through it should just 404). A secure site you can share with a client. Delete or switch local content or simply switch off.
- Using same tunnel website to access non-web content. Can be used to up/download anything.
- Using as a Markdown server.
- Collaborating with other developers.
- Showcasing work to others.
- Using for ad-hoc personal cloud storage when travelling.
- Digging deeper into development issues with the FENIX Request Browser.
Other products are available.
I chose Fenix for its deftness and my need for a Markdown server.
Acorn
Re: Hosting your own Web Server
Quote:
Originally Posted by
letsgofishing
Downloaded and tried it - Wow, it's fast - pages load instantly.
Set up 2 servers - both good. All these years I've been keeping 2 extra websites for testing - don't have to pay for domain reg and hosting anymore!
Not sure about sharing with clients though - clicked the enable public view, then copy and paste link and get this dodgy looking page with a warning - click continue and get a 404 error?
@Acorn - how do I share with a client?
Re: Hosting your own Web Server
Quote:
Originally Posted by
Acorn
i am fair to Xara
sorry I used a figure of speech, maybe not clear - just meant to say that xara are not the only ones who have legacy issues with IE - even MS have not quite got it together yet...