I've developed a website and that's working well on my localhost. I want to show it to my client by uploading it on a server for one or two hours, so that my client can access and play with it directly.
Is there a way to set up a temporary server on my computer, or are there any free servers that will keep my system uploaded for 2 to 3 hours?
You probably should have a company server and website to promote your company.
You can put client websites on your company website at http://www.company.com/demonstration/client (for example).
You can email the link to your client, and since it's your website, you control the access.
2 or 3 days would probably be more appropriate than 1 or 2 hours.