depends what you mean as a server, if you mean a server like a dedicated server you'd rent to allow public access make sure you isp allows it, also dont expect much as your up/down speed wont be as good as a datacenter connection, if your looking for just local serving (ie a testing server) install wamp/lamp accordingly
What kind of server?
Game Server, Audio Streaming Server, Virtual Server?