Jump to content

How to Host a Website on own Server? Need advice

- - - - -

  • Please log in to reply
4 replies to this topic

#1
iTfinGer

iTfinGer

    Newbie

  • Members
  • Pip
  • 4 posts
I have few doubts regarding website hosting plz someone let me know answers for the below questions
how to host a website on our server?
is that be done by just installing a server os and installing webserver in it?
how come a web site name is registered?
do we need to pay anyone for using our own server?

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
If you have both a domain name, and a dedicated or virtual private server, then you can freely host your website on it. You will need a DNS service to translate the domain name in to an IP address, there are many free services, and your host/domain name provider may supply such a service.

For software, I assume your server comes preloaded (or has options) to install a Linux based operating system, any one will do under most circumstances. You will need to have root access and follow the relevant guide of that operating system distribution to install a web server software, of which will actually run the site. Your website will be placed in a common folder read by the web server, it really depends on what your server "actually" is, if you yourself own it (root access), and what you have available (domain name, DNS already, if this is a local machinel and not elsewhere online.)

Generally shared hosting is a good option if you do not know how to set up a web server, or something such as a managed dedicated/VPS can be an option if you need something with more flexibility, yet somebody else doing the work for a little fee each time.

If you can provide more information on what you want to do, that can be more helpful.

Alexander.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
iTfinGer

iTfinGer

    Newbie

  • Members
  • Pip
  • 4 posts
Actually,I want to design a website which requires more memory to store data for that i am planing to host it on my own server

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
What memory do you expect to take up? If it is textual (database, text files, profiles) then space is not often an issue. In fact small price hosts often offer plans of 20-600GBs of allowed hard disk space, that should be very sufficient for normal websites.

It really depends on what you want to do.

If you are hosting your own server (at home, or at work) then you will have to do a lot more than just registering a domain name and pointing it to an online server - You will need to tell us how you connect to the internet, through a switch? router? firewall? and generally the time and energy it costs is only beneficial for certain applications.

I would really require more information to give any appropriate advice.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
  • Location:/etc/passwd
Do you mean you want to put a website on your own server?
Start by deciding what computer you want to use, look for:
Memory: If you want to cache stuff then 4GB+ is good.
Reliability: You should be able to run the server for a long time without a restart.
Expandability: For the love of god don't turn your room-mate's 5 thousand dollar gaming machine into a server.
Storage: I recommend a SSD (they read way faster than regular HDs) for the actual website and then regular mechanical hard drives to store larger content (for example user uploads like images and videos- To be honest a 32GB SSD will be fine for most websites).

Then download and install Ubuntu Server in the installation choose to install openSSH (allowing you to use Putty (windows) to control it from another box) and LAMP (Linux with Apache, MySQL and PHP- IE the webserver). Finally get some security running, I recommend IP-Tables at the least, also you can use FileZilla to upload files over sftp (secure ftp change the port to 22).

Then you have a web-server, port forward your modem (Google) to it (port 80) [WARNING: Some ISPs don't let you run servers] and then get a DNS service (freedns.afraid.org) and a Domain Name from whatever service you choose (GoDaddy is very popular) and point it the the DNS server which is configured to your IP- make sure you get a static one call your ISP for details.
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users