-
Posts
59 -
Joined
-
Last visited
Reputation Activity
-
SeanFarmer reacted to Eigenvektor in HTTP sub domain proxy
Not overly familiar with IIS or Apache 2, but it sounds like you want a reverse proxy. This should easily be doable with Apache 2's virtual hosts.
https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
The question is: Does your DNS provider resolve subdomains to your web server's public IP? If that's not the case, you need to fix that first, before you can begin to handle the requests on the server side.
At work we typically do it with nginx. The basic idea is to define a virtual host that uses the subdomain as the server name it listens to, then redirects the incoming traffic to some other (internal) IP.
A simplified example would look like this:
server { listen 0.0.0.0:80; listen [::]:80; server_name subdomain.mydomain.com; server_tokens off; ## Don't show the nginx version number, a security best practice # Redirect to HTTPS return 301 https://$host$request_uri; } server { listen 0.0.0.0:443 ssl; listen [::]:443 ssl; server_name subdomain.mydomain.com; server_tokens off; ## Don't show the nginx version number, a security best practice # <SSL configuration here> # Redirect location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_pass http://<YOUR-INTERNAL-IP-HERE>; proxy_read_timeout 300; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; } }
-
SeanFarmer reacted to SuperShermanTanker in Dell poweredge
I would just be happy to have a server from one of those large game companies
-
-
SeanFarmer reacted to Naeaes in Help?, something's stealing my ram!
There seems to be a problem with images today.
BTW, it's an unspoken best practice on this forum to put your large images in the spoilers I'm using. A lot of people here are on capped plans or on mobile and don't want to re-download huge pictures every time they refresh the page. The spoiler button is the eye in the edit box.
-
SeanFarmer reacted to Tycho in Help?, something's stealing my ram!
It's not a memory leak, your hardware reserved memory partition is just way to large. it should be somewhere near 100MB, not 4GB. That's why you can't use all of your memory.
-
-
-
SeanFarmer reacted to GoodBytes in Could you use a kinect for head tracking?
Yes you can. If you have Kinect 360 connect to the PC, you can have a look at Kinect SDK 1.8 (version 2.0 is for Kinect of The XBox One, and will not work with yours), and you have some great examples done for you in C++, C# and Modern UI apps.
-
-
SeanFarmer got a reaction from Tedster in I have a problem
i will now, just going to look at the bios voltages
-
SeanFarmer reacted to Tedster in I have a problem
You're lucky nothing's exploded yet.
Please get a decent one.
-
SeanFarmer reacted to Tedster in I have a problem
Like please stop using it now.
I don't want you to risk destroying your hardware.
Also tell her off.
-
SeanFarmer reacted to Tedster in I have a problem
You're making a huge mistake by going for that cheap brand.
Please get something decent quality ASAP.
-
-
SeanFarmer reacted to Tedster in I have a problem
Welcome to the Forum!
What PSU is it?
That looks bad.
-
SeanFarmer reacted to QueenDemetria in I have a problem
Your PC wouldn't be running if those readouts were right, its just a false positive. Check the voltages in the bios, they should be correct there.