There might be a situation where one of my clients won't pay for the web site that I've made. So I am wondering if it is possible to sell a web site? It is an internet shop, so there is no content that comes with it, but the source code is fully available, and it has a decent design. I've seen people trying to sell web site templates, and I've seen people who try to sell already running web sites, and there are plenty of commercial web site engines out there. But what about raw empty web sites, is there a market for them?
You could try to sell it as a platform, and all it needs is a client to give it a some graphics and content. If enough clients want a similar site you could sell it again and again. You might have to work out some sort of hosting arrangement with each client but it can be done.
BUT... if the original client had it in the contract that this work is for them and them only, there might be some problems. Arguably, if they breach the contract by failing to pay then there might not be...
This can be done if it's done right (and I've seen it done the right and wrong ways), but really you could consult a lawyer to make sure that by selling the application you're not going to get into any trouble.
I've seen a few people try, but unless it has a highly desirable domain name, I've never seen anyone sell one w/o a user base.