Bitcoin Forum
December 11, 2016, 10:07:02 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Need help setting up a very simple webserver...  (Read 1648 times)
frankiebits
Full Member
***
Offline Offline

Activity: 155


Cheif Executive Director of Thermal Dissipation


View Profile
March 26, 2011, 02:38:25 AM
 #1

So I want to host a tiny one page site from my computer for multiple domain names i have
 , the same page for all sites, 1 page , mostly a small amount of text

can someone help me with this in windows and i will donate some coin to them??

1481450822
Hero Member
*
Offline Offline

Posts: 1481450822

View Profile Personal Message (Offline)

Ignore
1481450822
Reply with quote  #2

1481450822
Report to moderator
1481450822
Hero Member
*
Offline Offline

Posts: 1481450822

View Profile Personal Message (Offline)

Ignore
1481450822
Reply with quote  #2

1481450822
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481450822
Hero Member
*
Offline Offline

Posts: 1481450822

View Profile Personal Message (Offline)

Ignore
1481450822
Reply with quote  #2

1481450822
Report to moderator
1481450822
Hero Member
*
Offline Offline

Posts: 1481450822

View Profile Personal Message (Offline)

Ignore
1481450822
Reply with quote  #2

1481450822
Report to moderator
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 350



View Profile
March 26, 2011, 02:41:04 AM
 #2

What are you starting from? Any hosting software installed already?

Look into XAMPP - very easy to config, you should be able to handle it yourself, or ask me any questions you have Smiley
frankiebits
Full Member
***
Offline Offline

Activity: 155


Cheif Executive Director of Thermal Dissipation


View Profile
March 26, 2011, 12:15:37 PM
 #3

What are you starting from? Any hosting software installed already?

Look into XAMPP - very easy to config, you should be able to handle it yourself, or ask me any questions you have Smiley

Thanks, I have it installed , set up a root password , an sql name and password, all I need to know is how to put one page in folder that I can host but keep everything else secure...

basically i am here right now, i played around with the admin sections but still don't understand most of the lingo.. Huh



sorry , this is something i have never had to deal with before, every site i had i just designed the page in frontpage 2001 (yea that long ago lol) uploaded it to my hosts ftp and it worked... this seems a little more complicated

Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 350



View Profile
March 26, 2011, 02:08:36 PM
 #4

I'm not sure where XAMPP installs offhand, but look for that and t hen in the htdocs folder is where it hosts pages, I believe. Try backing up what's in htdocs now and then putting whatever you want hosted in there.
Full Member
***
Offline Offline

Activity: 120


View Profile
March 26, 2011, 02:25:40 PM
 #5

So I want to host a tiny one page site from my computer for multiple domain names i have
 , the same page for all sites, 1 page , mostly a small amount of text

can someone help me with this in windows and i will donate some coin to them??
I've a better idea. How about you point all your domains at my host, and I'll host your one page for 1BTC a month Smiley. (PM for details. Offer open to all.) (Until I work out the mechanics of this, I ain't going to offer it.)

I seriously would suggest don't host a website on MS Windows machine, esp. not a machine at home. If you aren't a pro., it is really easy for things to go wrong. And then your home machine is screwed. Also, XAMPP is not meant to be used for live sites.

Quote
The default configuration is not good from a securtiy point of view and it's not secure enough for a production environment - please don't use XAMPP in such environment.

1NNtT9WQZc2EftEQtkQLSN7obzogckEqq5
All the cool kids are leaving a donation address in their sig?
State-less capitalist society = Mafia run society. Capitalist apologists who support such this, are not anarchists.
grondilu
Legendary
*
Offline Offline

Activity: 1134


View Profile
March 26, 2011, 02:30:49 PM
 #6

first: get rid of Windows© and install a decent operating system.
Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 350



View Profile
March 26, 2011, 07:20:37 PM
 #7

Considering he only wants to host 1 page (and I'm assuming html in that case), it should be secure enough. Just once you've got the page setup disable the mysql and filezilla parts of xampp and you should be good.
frankiebits
Full Member
***
Offline Offline

Activity: 155


Cheif Executive Director of Thermal Dissipation


View Profile
March 27, 2011, 03:14:33 PM
 #8

Considering he only wants to host 1 page (and I'm assuming html in that case), it should be secure enough. Just once you've got the page setup disable the mysql and filezilla parts of xampp and you should be good.

Ok I made the page, put it in the right folder, when i go to 127.0.0.1 it comes up, but when i try to see it thru my ip it times out, are there certain ports i need to forward with my router?

Edit: what about my subnet ip?

Garrett Burgwardt
Sr. Member
****
Offline Offline

Activity: 350



View Profile
March 27, 2011, 05:33:21 PM
 #9

You need to have port 80 open.
mewantsbitcoins
Full Member
***
Offline Offline

Activity: 126


View Profile
March 29, 2011, 01:42:52 AM
 #10

1. Assuming you have more than one computer at home, you should assign a static IP adress to your machine(say *.*.*.100), otherwise everytime you turn your computer off, you'll have to redo port forwarding.(see step 2)
2. Setup port forwarding on your router so that all incoming requests on port 80 are forwarded to your computer(*.*.*.100) on port 80.
3. Point all your domains at your router IP, which you can find out by visiting a site like http://www.whatismyip.com/

I would recomend WAMP as it is slightly more user friendly.

first: get rid of Windows© and install a decent operating system.

this is a very fair comment if you intend to leave your machine on 24/7


Regards,
Soon to be CCNA qualified  Grin
m

P.S. Anyone who needs help regarding these matters or anything to do with networks are welcome to pm me.
sorathia
Newbie
*
Offline Offline

Activity: 1


View Profile WWW
July 03, 2014, 01:15:23 PM
 #11

I wouldn't get a VPS.  VPS might be more than what he actually needs to do.  There are shared hosting available for less than $5 per month... I host my site, http://www.bookingtool.com on shared and it runs great.  For a simple 1 page site, that should be more than sufficient.

Neil - bookingtool.com
Initscri
Hero Member
*****
Offline Offline

Activity: 560

PHP/Python Web Developer. PM for Info.


View Profile
July 03, 2014, 06:39:05 PM
 #12

Considering he only wants to host 1 page (and I'm assuming html in that case), it should be secure enough. Just once you've got the page setup disable the mysql and filezilla parts of xampp and you should be good.

Ok I made the page, put it in the right folder, when i go to 127.0.0.1 it comes up, but when i try to see it thru my ip it times out, are there certain ports i need to forward with my router?

Edit: what about my subnet ip?

Just open up port 80 and you should be good to go.

Step 1: Buy a VPS. Do NOT host a website from your home connection, it's going to end badly. I personally recommend DigitalOcean.

Step 2: Point all your DNS names at the IP address.

Step 3: Install apache2 / httpd (depending if you want debian based operating systems or rhel based)

Step 4: Use winscp and copy / paste the html file into /var/www/

Step 5: The website should load for all the domains.


Bam! $5 / month for hosting all those sites.

As long as he isn't promoting his sites past his friends, I don't see much of an issue. If he is, then this is good information (whether gets shared or a VPS \/). Hosting a website on a home connection can not only put yourself at risk for infiltrations, but can also be a breach of contract for many ISPs.

I wouldn't get a VPS.  VPS might be more than what he actually needs to do.  There are shared hosting available for less than $5 per month... I host my site, http://www.bookingtool.com on shared and it runs great.  For a simple 1 page site, that should be more than sufficient.


This is good logic. However, I think he wanted the educational benefit of setting up the server himself.

remotemass
Legendary
*
Offline Offline

Activity: 925



View Profile
July 03, 2014, 06:44:15 PM
 #13

Why you don't set a Ubuntu-server/Apache configuration with https://www.digitalocean.com/.
It is really cheap and simple.

Would be great there was a torrent file of all referenced materials of the paper: "How to Build Time-Lock Encryption" by Tibor Jager. And having its magnet link published on bitcoin blockchain!
btcton
Hero Member
*****
Offline Offline

Activity: 658


View Profile
July 03, 2014, 07:31:07 PM
 #14

For what he needs, a VPS is way too overkill. In this case I would go for shared hosting, because your home computer is probably not going to be up all the time, plus it brings up some security issues. Also, don't use Windows for this, use Linux.
Initscri
Hero Member
*****
Offline Offline

Activity: 560

PHP/Python Web Developer. PM for Info.


View Profile
July 05, 2014, 06:45:18 PM
 #15

For what he needs, a VPS is way too overkill. In this case I would go for shared hosting, because your home computer is probably not going to be up all the time, plus it brings up some security issues. Also, don't use Windows for this, use Linux.

Probably overkill but if his goal is to learn, it may not be a bad idea.
You learn more from running a VPS than using shared hosting setup by someone else.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!