Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Rufus Ping
Dec 27, 2006





I'm a Friend of Rodney Nano

reading posted:

I want to use github's user pages tools to create my webpage, but have my domain names that I got through register.com redirect to my username.github.io page. I got it working for a couple hours but then it went down. I think the problem is that I don't know the real difference between the A file and the CNAME file, despite re-reading github's guides several times.

How can I make https://www.mydomain.me / mydomain.com / mydomain.net all redirect to myname.github.io? I've gotten as far as getting a GitHub-branded 404 page to show up when I go to mydomain.me but that's it.

I don't think there's such thing as an 'A file' on github, only the CNAME file (which can only contain one domain name)

Do you really want all the sites to redirect to the github pages site? If so, you don't need to set anything up at the github end (not even the CNAME file). Just configure an HTTP redirect in your domain registrar's control panel for each domain.

Adbot
ADBOT LOVES YOU

reading
Jul 27, 2013

Rufus Ping posted:

I don't think there's such thing as an 'A file' on github, only the CNAME file (which can only contain one domain name)

Do you really want all the sites to redirect to the github pages site? If so, you don't need to set anything up at the github end (not even the CNAME file). Just configure an HTTP redirect in your domain registrar's control panel for each domain.

Won't this cause the browser to display username.github.io as the address once the redirect completes? I want the address to be mydomain.me/.com/.net . Also register.com charges extra for those http redirects and I was hoping there was a way to just do it with a CNAME or A file edit on their end. Oh well, it's a miniscule charge anyway.

EDIT: nevermind I looked at it and the $49 extra service keeps the address in the browser window.

reading fucked around with this message at 17:04 on May 18, 2015

DarkLotus
Sep 30, 2001

Lithium Hosting
Personal, Reseller & VPS Hosting
30-day no risk Free Trial &
90-days Money Back Guarantee!

reading posted:

Won't this cause the browser to display username.github.io as the address once the redirect completes? I want the address to be mydomain.me/.com/.net . Also register.com charges extra for those http redirects and I was hoping there was a way to just do it with a CNAME or A file edit on their end. Oh well, it's a miniscule charge anyway.

EDIT: nevermind I looked at it and the $49 extra service keeps the address in the browser window.

Did you look into this? You shouldn't need to pay your registrar or anyone a $49 fee to do something so basic.
If you can't edit your DNS properly, use something like https://lidns.net (formerly wtfdns)

https://help.github.com/articles/tips-for-configuring-an-a-record-with-your-dns-provider/

reading
Jul 27, 2013

DarkLotus posted:

Did you look into this? You shouldn't need to pay your registrar or anyone a $49 fee to do something so basic.
If you can't edit your DNS properly, use something like https://lidns.net (formerly wtfdns)

https://help.github.com/articles/tips-for-configuring-an-a-record-with-your-dns-provider/

I've read and re-read the github docs on this many times but all I can get is a GitHub 404 page when I go to mydomain.me.

Here's my situation:
At register.com:
A name record pointing to the two github IPs, 192.30.252.153/154
No CNAME record

At my GitHub repo for the website:
No CNAME

using $ dig mydomain.me returns:
mydomain.me 14400 IN A 192.30.252.153
mydomain.me 14400 IN A 192.30.252.154

Do I need to put the CNAME back into my github repo, but NOT edit the CNAME at register.com? Also just out of curiosity what does the 14400 mean in the dig results? I couldn't find an explanation anywhere.

Impotence
Nov 8, 2010
Lipstick Apathy
14400 is TTL


Also: register.com is one of the worst lovely scammers I've ever seen in terms of vapid assholishness for renewals, bullshit addons, more spam than godaddy

They also refused to allow me to transfer, refused to give out EPP code, etc.

Rufus Ping
Dec 27, 2006





I'm a Friend of Rodney Nano

reading posted:

Won't this cause the browser to display username.github.io as the address once the redirect completes?
yes, this is what a redirect is - this is why I asked if you were sure you wanted a redirect

reading posted:

I want the address to be mydomain.me/.com/.net .
then you don't want a redirect, you simply want to point the domain at gh pages. Note that gh pages only allows one such domain to be pointed at your repo, so your other two domains will have to use a redirect

reading posted:

Also register.com charges extra for those http redirects
find a better domain registrar

reading posted:

Here's my situation:
At register.com:
A name record pointing to the two github IPs, 192.30.252.153/154
No CNAME record
this is correct

reading posted:

At my GitHub repo for the website:
No CNAME
this is incorrect - you need to make a CNAME file and check it into your repo

reading posted:

Do I need to put the CNAME back into my github repo, but NOT edit the CNAME at register.com?
correct

you may also wish to configure a redirect for the www subdomain (at your domain registrar - no config needed at gh)

reading
Jul 27, 2013

Biowarfare posted:

14400 is TTL


Also: register.com is one of the worst lovely scammers I've ever seen in terms of vapid assholishness for renewals, bullshit addons, more spam than godaddy

They also refused to allow me to transfer, refused to give out EPP code, etc.

Yeah register.com sucks but I didn't know that at the time.

Rufus Ping, thanks for your help, I got it working again. I changed the CNAME at register.com to point https://www.mydomain.me to mydomain.me so hopefully now they'll both work.

Rawrbomb
Mar 11, 2011

rawrrrrr

reading posted:

Yeah register.com sucks but I didn't know that at the time.

Then you should transfer, pretty much anyone is better.

reading
Jul 27, 2013

Rawrbomb posted:

Then you should transfer, pretty much anyone is better.

Do I do this by disabling the domain lock on register.com and then re-registering the website on another one, like godaddy? Or do I need to wait for it to expire in a year?

fletcher
Jun 27, 2003

ken park is my favorite movie

Cybernetic Crumb

reading posted:

Do I do this by disabling the domain lock on register.com and then re-registering the website on another one, like godaddy? Or do I need to wait for it to expire in a year?

Don't migrate anything to godaddy, they suck too.

I've been using http://www.gandi.net/ and never had an issue, although I'd probably rather just get new domains through AWS (which is reseller of gandi I believe) since the AWS admin console nice and clean.

Rawrbomb
Mar 11, 2011

rawrrrrr

reading posted:

Do I do this by disabling the domain lock on register.com and then re-registering the website on another one, like godaddy? Or do I need to wait for it to expire in a year?

You purchase a domain transfer. GoDaddy is less worse than register.com. But pretty much anyone is better. Find a company you might like and ask.

reading
Jul 27, 2013

reading posted:

I changed the CNAME at register.com to point https://www.mydomain.me to mydomain.me so hopefully now they'll both work.

Edit: I just had to be more patient. This eventually went through hours later.

reading fucked around with this message at 04:52 on May 19, 2015

reading
Jul 27, 2013
Does anyone here have experience using GitHub's page creation tools to edit a currently existing user page, rather than always generating a new one in the settings of a repo?

huhu
Feb 24, 2006
Really dumb question ahead... I got back into web design recently and decided to make myself a static website for my portfolio. I've since realized that web design has come a long ways since the last time I made a website... on Geocities. I'm thinking that a fully static website wasn't the best way to go and so I'm looking to use PHP (which I haven't taught myself yet) to generate the the header, nav, footer, etc. Do I need anything outside of a basic hosting plan and uploading the PHP files to get going?

Edit: Another question, was Amazon Web Services a bad pick for a host? I've managed to get my website up and running but feel like I have to read a tutorial anytime I want to do anything at all.

huhu fucked around with this message at 05:00 on May 20, 2015

Anaxite
Jan 16, 2009

What? What'd you say? Stop channeling? I didn't he-

huhu posted:

Really dumb question ahead... I got back into web design recently and decided to make myself a static website for my portfolio. I've since realized that web design has come a long ways since the last time I made a website... on Geocities. I'm thinking that a fully static website wasn't the best way to go and so I'm looking to use PHP (which I haven't taught myself yet) to generate the the header, nav, footer, etc. Do I need anything outside of a basic hosting plan and uploading the PHP files to get going?

Edit: Another question, was Amazon Web Services a bad pick for a host? I've managed to get my website up and running but feel like I have to read a tutorial anytime I want to do anything at all.

A basic hosting plan will do. Also, static sites aren't that bad, if you make them nice, but some things are definitely harder. If you're feeling both lazy and adventurous, you could get a basic hosting plan and a simple CMS.

AWS seems a bit like overdoing it, unless you want to be responsible for the OS as well.

Anaxite fucked around with this message at 13:43 on May 20, 2015

cstine
Apr 15, 2004

What's in the box?!?
Also, picking up a VPS or whatever means you're doing system administration as well.

Just find some reasonably priced well reviewed web host and use them, if you're not comfortable or interested maintaining a Linux (or whatever) box.

DarkLotus
Sep 30, 2001

Lithium Hosting
Personal, Reseller & VPS Hosting
30-day no risk Free Trial &
90-days Money Back Guarantee!

huhu posted:

Really dumb question ahead... I got back into web design recently and decided to make myself a static website for my portfolio. I've since realized that web design has come a long ways since the last time I made a website... on Geocities. I'm thinking that a fully static website wasn't the best way to go and so I'm looking to use PHP (which I haven't taught myself yet) to generate the the header, nav, footer, etc. Do I need anything outside of a basic hosting plan and uploading the PHP files to get going?

Edit: Another question, was Amazon Web Services a bad pick for a host? I've managed to get my website up and running but feel like I have to read a tutorial anytime I want to do anything at all.

Find a web host from the OP, setup a simple site with them and let them handle all the behind the scenes stuff.

Download VirtualBox and Vagrant, setup a local dev environment and learn linux at the same time.
It will be good experience regardless of which programming language, web server and database server you ultimately decide to use.

Any host in the OP will have everything in place for you to get started with a basic html or php site. You can typically use an auto installer to install things like wordpress if you just want to get something going right away.

huhu
Feb 24, 2006
Awesome thanks for clearing that up

Impotence
Nov 8, 2010
Lipstick Apathy

cstine posted:

Also, picking up a VPS or whatever means you're doing system administration as well.

Just find some reasonably priced well reviewed web host and use them, if you're not comfortable or interested maintaining a Linux (or whatever) box.

AWS has a 'webhost' service - Beanstalk - that should work by just pushing a git repo to it ala heroku. It's quite nice. It will run on the AWS free tier too, but YMMV if you plan on pounding it with traffic

painted bird
Oct 18, 2013

by Lowtax
This is likely a stupid question, but if I wanted to resell hosting space and have control over what software's running on the server, what sort of hosting should I get?

DarkLotus
Sep 30, 2001

Lithium Hosting
Personal, Reseller & VPS Hosting
30-day no risk Free Trial &
90-days Money Back Guarantee!

chthonic bell posted:

This is likely a stupid question, but if I wanted to resell hosting space and have control over what software's running on the server, what sort of hosting should I get?

You will want a VPS or dedicated server with root access. A typical reseller account will still be limited to using whatever software is installed by the host.

reading
Jul 27, 2013
How is reselling hosting space a market?

MrMoo
Sep 14, 2000

reading posted:

How is reselling hosting space a market?

Usually it is tied to someone churning out basic template websites to small businesses and individuals.

Bob Morales
Aug 18, 2006


Just wear the fucking mask, Bob

I don't care how many people I probably infected with COVID-19 while refusing to wear a mask, my comfort is far more important than the health and safety of everyone around me!

reading posted:

How is reselling hosting space a market?

A long time ago I worked for this company and they paid a marketing company $125 a month to host their site, I found out it was on loving tendollarhosting.com

EvilElmo
May 10, 2009
Is this thread the place for me to ask about seedboxes?

Odette
Mar 19, 2011

EvilElmo posted:

Is this thread the place for me to ask about seedboxes?

Self-hosted? That's sort of relevant, but due to :filez: rules on SA, probably not. You'd probably have more luck on this subreddit.

Silento Boborachi
Sep 17, 2007

If I am thinking about getting a VPS to host a game server instead of a website, what are the most important things to look for, (presumably bandwidth)? I figure it would be cheaper to buy a VPS for a few months to see if it is actually worthwhile then paying $100 to turn an old computer into a dedicated server and having to do a lot of leg work on my own. Or would there be a better thread for this?

Bob Morales
Aug 18, 2006


Just wear the fucking mask, Bob

I don't care how many people I probably infected with COVID-19 while refusing to wear a mask, my comfort is far more important than the health and safety of everyone around me!

Silento Boborachi posted:

If I am thinking about getting a VPS to host a game server instead of a website, what are the most important things to look for, (presumably bandwidth)? I figure it would be cheaper to buy a VPS for a few months to see if it is actually worthwhile then paying $100 to turn an old computer into a dedicated server and having to do a lot of leg work on my own. Or would there be a better thread for this?

Depends on what game you want to play. Many outfits sell servers specifically for certain games like minecraft.

EvilElmo
May 10, 2009

Odette posted:

Self-hosted? That's sort of relevant, but due to :filez: rules on SA, probably not. You'd probably have more luck on this subreddit.

Thanks I was mostly interested in the why. The link helped answer that.

Spazz
Nov 17, 2005

Silento Boborachi posted:

If I am thinking about getting a VPS to host a game server instead of a website, what are the most important things to look for, (presumably bandwidth)? I figure it would be cheaper to buy a VPS for a few months to see if it is actually worthwhile then paying $100 to turn an old computer into a dedicated server and having to do a lot of leg work on my own. Or would there be a better thread for this?

Hosting something on a personal PC can work, but depending on how aggressive your ISP is they may shut you down for hosting services out of your house. I've never had this happen with Comcast in my area, but I have heard of it happening with other ISPs. It also really depends on what kind of game server you're running. Vanilla Minecraft with a few people can run smoothly on a 1GB VPS. Modded Minecraft you'll want at least 2GB of memory and to be strict on builds. Certain mods like IC2 (at least when I played) allowed wiring loops that could crash servers easily.

I would start by looking at the hardware requirements of the game server you want to host and shopping around from there. Keep in mind that a re-purposed home PC with an i3 may work, but it's not going to compare to a VPS with enterprise hardware.

Bubbacub
Apr 17, 2001

Anyone else running on Nixihost having trouble with the Wordpress file upload size limit? I can't upload anything bigger than 1MB. The php memory limits look fine, but none of the Wordpress config tricks that other people use seem to do anything.

cstine
Apr 15, 2004

What's in the box?!?

Bubbacub posted:

Anyone else running on Nixihost having trouble with the Wordpress file upload size limit? I can't upload anything bigger than 1MB. The php memory limits look fine, but none of the Wordpress config tricks that other people use seem to do anything.

File upload size limit is set in the php.ini, not in wordpress. Talk to their support to see if they can increase it.

reading
Jul 27, 2013
I'm trying to get two different websites hosted off the same hardware using apache2. But I'm running in to some problems with all these config files and I bet it's related to NameVirtualHosts and VirtualHosts. I've followed the guide at https://www.debian-administration.org/article/412/Hosting_multiple_websites_with_Apache2 which is a good start but a decade out of date.

Website A is running on port 8080, while website B is running on only the local network and at port 1337.

Here's my ports.conf file:
code:
NameVirtualHost *:8080
Listen 8080

# Uncommenting these seems to mess up Website A.
#NameVirtualHost *:1337
#Listen 1337

<IfModule mod_ssl.c>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
    Listen 443
</IfModule>

<IfModule mod_gnutls.c>
    Listen 443
</IfModule>
In sites-available: Website A:
code:
<VirtualHost *:8080>

	ServerAdmin [email]webmaster@example.com[/email]
	ServerName websiteA.com
	ServerAlias websiteA.com

	# Indexes + Directory Root.
        DirectoryIndex index.html
        DocumentRoot /var/www/websiteA

        # Logfiles
        ErrorLog  /var/www/logs/websiteA/error.log
        CustomLog /var/www/logs/websiteA/access.log combined
</VirtualHost>
Website B:
code:
<VirtualHost *:1337>

	ServerAdmin [email]webmaster@example.com[/email]
	ServerName websiteB
	ServerAlias websiteB

	# Indexes + Directory Root.
        DirectoryIndex index.html
        DocumentRoot /var/www/websiteB

        # Logfiles
        ErrorLog  /var/www/logs/websiteB/error.log
        CustomLog /var/www/logs/websiteB/access.log combined

With this setup, website A works and can be accessed from the wider internet as intended but website B, which I just want to view on my local network, doesn't show up. I've got all the necessary .html files and so forth in /var/www/websiteB. I think I also tried removing the port number in the config files for VirtualHost: * but that killed website A so I put both back. Any ideas?

reading fucked around with this message at 02:47 on Jun 11, 2015

ElCondemn
Aug 7, 2005


reading posted:

I'm trying to get two different websites hosted off the same hardware using apache2. But I'm running in to some problems with all these config files and I bet it's related to NameVirtualHosts and VirtualHosts. I've followed the guide at https://www.debian-administration.org/article/412/Hosting_multiple_websites_with_Apache2 which is a good start but a decade out of date.

Website A is running on port 8080, while website B is running on only the local network and at port 1337.

Here's my ports.conf file:
code:
NameVirtualHost *:8080
Listen 8080

# Uncommenting these seems to mess up Website A.
#NameVirtualHost *:1337
#Listen 1337

<IfModule mod_ssl.c>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
    Listen 443
</IfModule>

<IfModule mod_gnutls.c>
    Listen 443
</IfModule>
In sites-available: Website A:
code:
<VirtualHost *:8080>

	ServerAdmin [email]webmaster@example.com[/email]
	ServerName websiteA.com
	ServerAlias websiteA.com

	# Indexes + Directory Root.
        DirectoryIndex index.html
        DocumentRoot /var/www/websiteA

        # Logfiles
        ErrorLog  /var/www/logs/websiteA/error.log
        CustomLog /var/www/logs/websiteA/access.log combined
</VirtualHost>
Website B:
code:
<VirtualHost *:1337>

	ServerAdmin [email]webmaster@example.com[/email]
	ServerName websiteB
	ServerAlias websiteB

	# Indexes + Directory Root.
        DirectoryIndex index.html
        DocumentRoot /var/www/websiteB

        # Logfiles
        ErrorLog  /var/www/logs/websiteB/error.log
        CustomLog /var/www/logs/websiteB/access.log combined

With this setup, website A works and can be accessed from the wider internet as intended but website B, which I just want to view on my local network, doesn't show up. I've got all the necessary .html files and so forth in /var/www/websiteB. I think I also tried removing the port number in the config files for VirtualHost: * but that killed website A so I put both back. Any ideas?

What's the error you get after restarting apache when you uncomment the namevirtualhost and listen lines for port 1337?

DarkLotus
Sep 30, 2001

Lithium Hosting
Personal, Reseller & VPS Hosting
30-day no risk Free Trial &
90-days Money Back Guarantee!
Woot! More OpenSSL vulnerabilities!
https://openssl.org/news/secadv_20150611.txt

eightysixed
Sep 23, 2004

I always tell the truth. Even when I lie.

Woot!

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

Needing some advice. I recently switched from shared hosting to VPS for client websites. I got Virtualmin installed on the new server, so far so good. The thing I'm stumped on currently is how to handle DNS redundancy. My biggest question is, do I even really NEED a backup DNS server? Assuming the answer is yes, what are my options? Purchase a second VPS? Use a third party service? How should I go about this?

Thalagyrt
Aug 10, 2006

caiman posted:

Needing some advice. I recently switched from shared hosting to VPS for client websites. I got Virtualmin installed on the new server, so far so good. The thing I'm stumped on currently is how to handle DNS redundancy. My biggest question is, do I even really NEED a backup DNS server? Assuming the answer is yes, what are my options? Purchase a second VPS? Use a third party service? How should I go about this?

Set up a VPS in some other datacenter (ideally) and slave off of your primary DNS server. Whether you do this with a simple cronjob that runs every minute and copies the zone files over and reloads them or you do it with actual DNS slaving doesn't really matter, both will have a similar effect. The secondary server will always lag a bit behind the primary, so take that into account with your TTLs if you use short TTLs for any reason.

If you're only pointing DNS zones at the primary server with no third party services then there's no point in having a backup DNS server - if the server's down it won't matter if DNS is up as clients won't be able to hit things anyway. However, if you have records pointing to other services or are using a hosted mail solution or whatever, having a slave in a different datacenter would be ideal as losing the server temporarily wouldn't cause an outage for those other services.

Spatulater bro!
Aug 19, 2003

Punch! Punch! Punch!

Thalagyrt posted:

Set up a VPS in some other datacenter (ideally) and slave off of your primary DNS server. Whether you do this with a simple cronjob that runs every minute and copies the zone files over and reloads them or you do it with actual DNS slaving doesn't really matter, both will have a similar effect. The secondary server will always lag a bit behind the primary, so take that into account with your TTLs if you use short TTLs for any reason.

If you're only pointing DNS zones at the primary server with no third party services then there's no point in having a backup DNS server - if the server's down it won't matter if DNS is up as clients won't be able to hit things anyway. However, if you have records pointing to other services or are using a hosted mail solution or whatever, having a slave in a different datacenter would be ideal as losing the server temporarily wouldn't cause an outage for those other services.

Would something like Free DNS be an adequate solution for a slave DNS server?

Adbot
ADBOT LOVES YOU

DarkLotus
Sep 30, 2001

Lithium Hosting
Personal, Reseller & VPS Hosting
30-day no risk Free Trial &
90-days Money Back Guarantee!

caiman posted:

Would something like Free DNS be an adequate solution for a slave DNS server?

Another option is HE, you can pay for them to be a slave I believe. Never used their services, eightysixed has and can probably provide more info.
There's always https://lidns.net if you just want to offload the hosting of your own DNS.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply