Hardware How do I create my own website?

PoisonZero

New Member
OP
Newbie
Joined
Oct 3, 2010
Messages
2
Trophies
0
XP
39
Country
Hello I want to create my own website.

I don´t know were to start I looked around in google and I found some sites you can creat a account then you can make your own website but I want to know from you guys. Maybe you know more :)

Were should I creat my website

the website I want is you can put up pictures, music, movies and be able to chat and more if you can find :D thanke you

From PoisonZero
 
Solution
Look for XHTML lessons and PHP lessons.
After you've grasped that add some AJAX. And you can make any website you like.

Or look on google for a WYSIWYG builder.
To host something with dynamic content you better have a payed host. ( for PHP, PERL, etc. )

Hielkenator

Well-Known Member
Member
Joined
Feb 7, 2010
Messages
4,210
Trophies
0
XP
679
Country
Netherlands
Look for XHTML lessons and PHP lessons.
After you've grasped that add some AJAX. And you can make any website you like.

Or look on google for a WYSIWYG builder.
To host something with dynamic content you better have a payed host. ( for PHP, PERL, etc. )
 
Solution

Youkai

Demon
Member
Joined
Jul 1, 2004
Messages
2,552
Trophies
1
Age
36
Location
Germany , NRW
XP
2,445
Country
Germany
If you don't want to learn programming and self hosting and whatever you could use the ones mentioned above as well as maybe Squarespace or whatever.

There are lots of Programms offering free and easy website building which often looks much more professional then doing it yourself but yeah if you are up to learning how to Programm yourself thats not a bad thing either.

Also there are websites where you can download free templates which you can edit yourself afterwards so that you can combine your self programming with something that looks professional (often the free or cheap ones require you to have the makers information somewhere on the page though)
 

Sypherone

Gaming Ninja
Member
GBAtemp Patron
Joined
Apr 28, 2019
Messages
1,655
Trophies
2
Age
44
XP
2,817
Country
Germany
Get a raspberry pi zero. Set up a Webserver like apache or lighttpd also a DNS resolver like unbound to set it up in your network. (With experience you can also make it reacheable from outside, if needed with a tunnel). Take some tutorials for html like https://html.com/ or https://www.w3schools.com/html/ . There are enough Tutorial out there to start. Then u can expand with css or php.
 
Last edited by Sypherone,

Ondrashek06

Well-Known Member
Member
Joined
Dec 27, 2019
Messages
1,148
Trophies
0
XP
3,231
Country
Czech Republic
You need 3 things to put a website on the internet:

- Hosting. This is the hardware that your website is on and that people can connect to using the internet.
- Domain. This is the website name which you input into the browser.
- Code. This is the website itself. HTML, CSS, PHP, JS...

For hosting, you have 2 options.
- Remote hosting. You basically rent someone else's hardware to put stuff on which is connected to the internet. It is either paid or free (usually with limitations).
- Selfhosting. You use your OWN PC to host a website. However, if you have CGNAT like most people, forget about it. Removal of CGNAT needs to be done at ISP-level and most charge extra for it.

For domain, you have to shell out money. There's no ifs or buts. The only exception is Freenom which offers free domains with lesser-known TLDs. However, corporations know about that and don't let you use their services with those TLDs.

For code, you either write it yourself or use a premade website package. GBATemp uses one, it's called XenForo and it's what they use for these forums. Of course there's some tweaks on top of it which GBATemp made themselves.
 

aquova

Active Member
Newcomer
Joined
Jun 30, 2019
Messages
25
Trophies
0
Age
30
XP
136
Country
United States
I self host my own personal website on a spare computer. It's a pretty simple site, but the basic ideas should be the same even if you want to host something you haven't written (media streaming, game servers, etc). This topic was originally made 12 years ago, but if anyone in the future is looking to get into it there are a few layers you need to set up to get it working.

  • You need to buy your own domain name. There are some sites that provide free ones, but you get very little control over them and frankly aren't worth it. Sites like Namecheap are easy ways to get them.
  • You'll need to provide your domain provider with the IP address of the server so that they know where to redirect traffic. You can either have a static IP address (which isn't worth it) or use something called dynamic DNS. Basically you run a program that syncs your IP address between the server and the domain provider so that anytime it changes it automatically redirects correctly. It's pretty instantaneous, I've never noticed a drop in service when it changes. There are several programs that provide this, and sometimes the domain provider has one they prefer.
  • Optional: Note that if you're self-hosting, your domain is now pointing towards *your* IP address. You might be fine with this, but if not, many people use a service like Cloudflare to serve as a proxy - they route all their traffic through their own servers first before passing it on to you. They have a free tier that provides this service, although it only supports HTTP traffic, not things like game servers.
  • I can't speak for if you're buying server time, but if you're self-hosting you'll now need to port forward traffic from your router to the server computer itself. For websites, ports 80 (HTTP) and 443 (HTTPS) are the ones to forward.
  • Sort of optional: I use a reverse proxy to manage the different services. This provides two benefits. One, the client is usually looking for a specific port when it makes a request (like port 80 for web pages) but if you want to host more than one website, they both want to be on port 80, which causes a conflict. The reverse proxy allows you to host the services on whatever port you want, point traffic to them, and it'll handle the rest. The one I use, Nginx Reverse Proxy, also handles HTTPS certificates so you don't have to deal with that. If you don't care about HTTPS and are only hosting one thing, you can ignore this. I know a lot of people like Caddy, but I haven't used it.
  • You now need to actually run the web server. If you're hosting someone elses software, they'll have instructions on how to run it, but if you want to write your own website, look into Apache or Nginx for well used web servers. They'll allow you to host HTML/CSS/JS content you write. If you want to do more server-side stuff, look into PHP/JS/many others, they'll each have their own steps to get going.

I think that's the gist of it. I also host pretty much everything in its own Docker container to allow for easier upgrades, containerization, and port management, but that's a more advanced thing. If anyone has any improvements to this (or glaring mistakes I'm making in my set up) I'd like to hear them.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: Firefox users be like "look at what they have to do to mimic a fraction of our power."