If I have a shared linux server where I have an account along with many other people, is it possible to buy a domain and link it to a web server running on one of those accounts? Kind of like how they showed Zuckerberg do when he created Facemash?
If it's shared web hosting this is all handled by the hosting company, you just need to tell them what domain you're hosting and what directory you're putting the webroot in -- how you do this varies with provider.
The root-level config can either serve out of user directories (you know those addresses that look like example.com/~user/? that's an example) or reverse proxy to another server running on a non-standard port under your user.
Basically: if you're the admin, you can set it up like that. If you're just a user, you'll need to get your admin to do it.
@DemCodeLines Generally, you can, but you're going to be limited to the tools the host provides. You should be able to set up name-based virtual hosts on the server.
On a server with a static IP address reserved to you, it's much easier because you can just set an A record on your domain registrar's control panel and not much configuration would be necessary server-side.
@bwDraco Let's say something along the lines of what you saw with Zuckerberg setting up a web server within his school account. It's not exactly like that, but it's similar restriction-wise.
@DemCodeLines From there it depends on what kind of setup your admin has given you. Every school does it differently.
It's common for universities to enable hosting for each user. You dump your files in ~/public_html and they can be accessed via /~username/. If you're lucky they'll even enable cgi-bin processing.
You wouldn't be able to use the domain name directly. You can set up the domain to redirect to the real web address, but visitors will only see your domain name as a shortcut to the website and you won't be able to use URL paths like example.com/foobar.
@Bob I've seen this before and was introduced to this sort of setup while in college - I opted not to do this and decided to spend my own money to get a VPS and do all my class projects on it.
@user486818: “I view Peter Parker's financial condition as a weakness in Peter Parker's character.” You’ve got some weird views on money buddy. Money has nothing to do with character. It’s an arbitrary system of value storage and transfer that humans have invented. — Paul D. Waiteyesterday
@DemCodeLines You're better off being explicit about what you want rather than guessing what some hypothetical admins allowed for someone who is not you in a network that is not the network you are on.
Linode (affiliate code available upon request) or DigitalOcean 1 GB? Both are $5 a month; this might be a bit too much but it's been rock-solid for me.
It's very workload-dependent - Avoton is great for multithreaded workloads, but not if you need lots of single-threaded performance. Thankfully, applications needing lots of single-threaded performance are unusual in the server world outside of game servers.
@ThatREDACTEDGuy 1. If you don't "stop" the server, if the hypervisor crashes then everything on the local disk since the last "stop" (via control panel) is lost. So, backups to an off-server storage, or stopping every now and then, is ... pretty important.
That happened to me once in the 4-5 months I've been using them
I'm currently paying ~15USD / year for 128 MB RAM on buyvm, mostly for VPN, but some months ago their bandwidth somehow reduced to ~2 MBps when I'm VPNing and I haven't yet investigated why. For HTTP downloads it's much faster.
The other issue, which ties into the first, is that monthly pricing only kicks in after something like 2/3 of a month continuous, otherwise you're on hourly. Which means if you stop/start a lot you can end up paying ~30% more than advertised? Bleh.
So, yea. Not something I'd necessarily recommend. Stick with buyvm if you want stable :P
@ThatREDACTEDGuy Alternatively, OVH has VPS offerings too, $3.50/month. You don't get the dedicated CPU cores, but you do get decent RAM and good network. And AFAIK OVH VPSes are stable.
OVH runs on OpenStack, not Scaleway's wonky home-grown solution :P
@bwDraco I think that was the goal, but AFAICT Scaleway dev has dropped off in recent years.
It's a great box for testing things - good connectivity and decent performance - but it's not stable enough for me to host on, especially when I have a bunch of actually stable servers :P
i want to create a female to female HDMI extender. i used 2 of this breakout board female HDMI socket (here)
connected both of them with jumper wires and checked each wire with multi meter. connections seem good and there is no sign of short circuit. but when i use HDMI cables i don't get any con...
UN sanctions are not helping. I doubt China limiting oil exports will help at this point.
However, Pyongyang knows that it cannot win a war against the United States.
I'm getting the feeling that a threat of imminent, overwhelming military action is going to be the only way we can force the regime to stop what it's doing. We should not have to follow through with the threat, but if it comes to this point and North Korea initiates an attack... I don't know what to say.
I'm not a war hawk. But the way North Korea is responding is not promising.
Hopefully, one last shot at diplomacy will help, but I doubt it unless it's clear that the regime has lots to lose if it doesn't cooperate.
China needs to step up its game and not be afraid of regime collapse. "Either you stop working on nuclear weapons or you lose ALL oil supplies from us."
We've reached a point where militaries are mobilizing and preparing to attack. This should not have been necessary.
The moment I start hearing multiple countries in a block of text, my brain shuts off. I can barely imagine the magnitude of my own xD @bwDraco You can let your elected reps decide on action. I'm sure your opinion will be taken into consideration.
Putting a cat on a leash and walking it around isn't species-appropriate. You can and should do that with a dog, but cats usually hate that. They value their autonomy.
The idea "My cat will feel safe when I am around" is wrong. Cats don't think that way. While they are social animals, they aren'...
lol. I thought the question title seemed a bit off
We want things for cheap but in the end we are not happy with life... Why? Because the more we want for less, the less happy are people who serve us and wise versa.
Capitalism... Are we really happy? Just another phase in humen evolution...
We are same people who serve us. We want proper income for our work but they want to pay less just as we do when we are served. Self-centered people will not understand my message and will keep blaming everything as they usually do...
@NickAlexeev Why would that question be migrated to SU? It has an answer, the question itself, is sort of low quality though (grammar, formatting, clarity) questions with answers shouldn't be migrated. It likely would have a similar reception as its current home. See no benefit to the question if it was moved
I really should get two cloud VMs and work on a ssh script next weekend. Should have done it this weekend:-( looks like I am looking at another 8 months for a fix to a bug my system has because RHEL 7.4 didn't fix it!
@Ramhound ...I have three (four?) dedicated servers and a few odd VPSes...
It's been a few years since I last used a VPS for anything serious.
If you want a general rec for good price + stable... OVH. RamNode. BuyVM. Or the ones @bwDraco likes (Linode/DO), I suppose, though I'm not personally a fan.
also, not all packages in CentOS (free as in freedom) are available in the basic RHEL subscription
all Red Hat software is available free, without support, open source... the only reason to buy a subscription is if you need support
in RHEL, to access certain "advanced" packages you need very expensive licenses that aren't available with the free dev license; but those are available for free in CentOS
Well honestly as long as I can ssh into the host from a second host restart a random service then log into a third host (or some combination) but (as root each time because we don't use ssh keys)
don't waste your money on a RHEL license, then; even if you use AWS, provisioning a CentOS instance is cheaper per hour than a RHEL instance because you're not paying license fees
@Ramhound Re: the RAM, IIRC that can happen because it's mapping the dGPU memory into the limited 32-bit address space. Which does make it a 32-bit problem.
1 GB shared with an iGPU is rather a lot, especially for Sandy Bridge
*shrug* not sure though, so I removed the 30% claim.
@Burgi Also I am telling him I don't know what they need to know. What I know they need to know I told them, but if they need to know and I don't know they need to let me know.
He hasn't worked out I am being intentionally confusing
@JourneymanGeek yo dawg, I heard you know about not knowing about unknowns, so there's some unknowns we don't know about, maybe you know how we can know about the known unknowns, so they no longer unknown, while you might not know about the unknown unknowns.