network programming socket

Job ID: 32319158

Budget: $30 – $250 AUD

hello i need someone who can help me in this
Using socket programming, implement a simple but a complete web server in python or java or
C that is listening on port 6000. The user types in the browser something like
http://localhost:6000/ or http://localhost:6000/index.html or http://localhost:6000/image.png, etc
The program should check
1- if the request is / or /index.html (for example localhost:6000/ or
localhost:6000/index.html) then the server should send main.html file with ContentType: text/html.
The main.html

2- Let the user enters a URL of a web page and then a word. And the task is to find how many times this word has been repeated on this web page.

Thanks