Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We want two different web services (A and B) on the same domain on the same server. Service A delivers static (informational) content only (html text pages with images) and can be left to run non-stop (on port 80). Service B is a dynamic interactive service (on port 80xx) with a backend db and which may have to be shutdown periodically for maintenance.

Can lighttpd be configured to support both service A and B on the same server?

share|improve this question
    
Depends - can you alter the content on the second listener, or do you need to shut it down completely? And can lighttpd work with the dynamic content that you're looking to use? –  Shane Madden May 31 '12 at 3:05
    
@ShaneMadden Fastcgi is deployed on service B and so lighttpd is suitable. It would be preferable not to shutdown service B completely but a bunch of files have to be updated which cannot be achieved in real-time. A method to update the files while service B is running would be the ideal solution. If not then service B has to be shutdown while the files are updated which could mean service A has to be shutdown too if lighttpd cannot support both A and B. Thanks! –  dbv May 31 '12 at 8:12
    
Would it work to just drop in a static maintenance page for service B while it's mid-update? –  Shane Madden May 31 '12 at 16:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.