Difference between revisions of "Frequently Asked Questions (FAQ)"

From PrgmrWiki
(How much does a second ip address cost?)
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
==Where is my server located?==
 +
Our servers are in Santa Clara, California. Internet traffic goes through San Jose, California which is just a few miles away.
 +
 
==Can you set reverse dns?==
 
==Can you set reverse dns?==
Yes. By default the vps hostname and reverse dns is set to yourusername.xen.prgmr.com. we can set it to something else, if you like. To prevent Hanky Panky, we require that you set the forward dns first.   
+
Yes. By default the vps hostname and reverse dns is set to yourusername.xen.prgmr.com. There is a menu in the ssh console to set it to something else. To prevent Hanky Panky, we require that you set the address record first to what you want the reverse to be.   
  
 
==Can you set my forward dns?==
 
==Can you set my forward dns?==
 
We don't offer a dns control panel, but you can run webmin with bind or another dns server and control panel and we can have our server as a slave for your domain. You can also host dns with another provider such as your registrar. The only DNS we explicitly provide is username.xen.prgmr.com
 
We don't offer a dns control panel, but you can run webmin with bind or another dns server and control panel and we can have our server as a slave for your domain. You can also host dns with another provider such as your registrar. The only DNS we explicitly provide is username.xen.prgmr.com
  
==How can I repartition my domu's filesystem?==
+
==Can I run a tor node?==
See [[Repartition | our page on repartitioning]].
+
A number of customers are running tor relay nodes. At this time we don't have an explicit policy against exit nodes, but we reserve the right to add one. Persistent abuse complaints are not tolerated, so please refer to [https://blog.torproject.org/tips-running-exit-node the Tor project] for recommendations on a reduced exit node policy that may be able to avoid abuse complaints.
  
 
==Can I upgrade my server later on?==
 
==Can I upgrade my server later on?==
Yes, we can give you more memory and disk and
+
Yes, we can give you more memory and disk and you just have to halt and create the server again once the configuration is made. Once the disk is extended, there are several ways to repartition using the new space. See [[Using_disk_upgrades| Using disk upgrades]].
you just have to halt and create the server again once the configuration is
 
made. Once the disk is extended, there are several ways to repartition using the new space. You can make a new partition and filesystem just on the new space, and move /var or /home to it for example. You can
 
backup your existing filesystem(s), delete the partition, and make a new bigger one with
 
a new filesystem(s) and restore from the backup. A risky and unreliable choice is to
 
resize the existing filesystem. [http://www.gnu.org/software/parted/manual/html_node/resize.html Parted can do this] for certain filesystems. WE DO NOT RECOMMEND RESIZING THE FILESYSTEM. USERS HAVE LOST DATA. If you want to reinstall you can [[Untarring a fresh OS image|untar one of our os images]].
 
  
 
==Can I downgrade my server later on?==
 
==Can I downgrade my server later on?==
Yes. Because of the problems with resizing filesystems, we reinstall the OS image after downgrading the disk.
+
Yes, but it can be complicated if you need to preserve the existing data.
  
 
==Can I change my billing period?==
 
==Can I change my billing period?==
You can change your package to one with a different billing period by logging in to [https://billing-external.prgmr.com https://billing-external.prgmr.com]. If you want to change other package details (memory, disk) be sure to let us know.
+
Yes. You may be able to do so by logging in to [https://billing.prgmr.com https://billing.prgmr.com] but due to a billing system migration you may need to contact support for the change to be made.
  
 
==I forgot my ip address, what is it?==
 
==I forgot my ip address, what is it?==
Line 26: Line 24:
  
 
==How much does a second ip address cost?==
 
==How much does a second ip address cost?==
We charge a $11 one time setup fee and $1 yearly fee there after. You must give us justification so that our space is being used well. Good reasons include running a STUN server and SSL certificates.  Bad reasons include making one vps look like two authoritative dns servers for a domain, or SEO tomfoolery.
+
For single IPs, we charge $12 per year. You must give us justification so that our space is being used well. Good reasons include running a STUN server and SSL certificates.  Bad reasons include making one vps look like two authoritative dns servers for a domain, or SEO tomfoolery. If you need more than one additional IP please contact us for pricing.
  
==Why does the menu for the console say my server doesn't exist?==
 
This doesn't mean your disk or other setup is gone, only that the domU is shutdown. This is because the xend management process on the dom0 doesn't know the status of your domU when it is shutdown.
 
 
==Why does nothing happen when I connect to the console from the menu?==
 
==Why does nothing happen when I connect to the console from the menu?==
 
When you connect to the console it only shows you the output since the last time someone looked at the console. If there hasn't been any output, press enter and you should get a login prompt.
 
When you connect to the console it only shows you the output since the last time someone looked at the console. If there hasn't been any output, press enter and you should get a login prompt.
 
==I can't seem to ssh root@myserver==
 
==I can't seem to ssh root@myserver==
permitRootLogin is set to no in /etc/ssh/sshd_config.  I
+
permitRootLogin is set to without-password in /etc/ssh/sshd_config, so if you do not have any ssh keys added to the root user, you can't log in.  I
strongly reccomend that you leave that setting, create a non-root
+
strongly recommend that you leave that setting, create a non-root
 
user, ssh in as the non-root user and then use su or sudo.  You can
 
user, ssh in as the non-root user and then use su or sudo.  You can
 
change permitrootlogin if you must, but make sure you have a strong
 
change permitrootlogin if you must, but make sure you have a strong
Line 44: Line 40:
 
The xen console doesn't work well at all with multiple access, but there is no locking. Several terminals can attach, but output from the vps will only go to one. For most tasks its better to use ssh, the xen console is most useful when there is no normal network access to the vps, such as when reinstalling.
 
The xen console doesn't work well at all with multiple access, but there is no locking. Several terminals can attach, but output from the vps will only go to one. For most tasks its better to use ssh, the xen console is most useful when there is no normal network access to the vps, such as when reinstalling.
 
==In CentOS why can't I connect to port 80?==
 
==In CentOS why can't I connect to port 80?==
The default firewall configuration in our CentOS image only allows connections on tcp port 22. To allow connections to port 80, or any other port number, run <pre>iptables -I RH-Firewall-1-INPUT 10 -m state --state NEW -p tcp --dport 80 -j ACCEPT</pre> with the port number after --dport. You can also configure the firewall by running system-config-securitylevel-tui.
+
The default firewall configuration in our CentOS image only allows connections on tcp port 22.
That's going to make things a lot easier from here on out.
+
 
 +
On CentOS 6, to allow connections to port 80, or any other port number, run <pre>iptables -I RH-Firewall-1-INPUT 10 -m state --state NEW -p tcp --dport 80 -j ACCEPT</pre> with the port number after --dport. You can also configure the firewall by running system-config-securitylevel-tui. That's going to make things a lot easier from here on out.
 +
 
 +
By default, CentOS 7 uses firewalld for firewall management.  To enable inbound HTTP, you need to issue two commands using the firewall-cmd utility.  The first command only adds a new firewall rule to the running system, but does not affect the permanent configuration.  The second command makes the configuration permanent.  Those commands are:
 +
 
 +
<pre>
 +
firewall-cmd --add-service=http
 +
firewall-cmd --permanent --add-service=http
 +
</pre>
 +
 
 +
Please see the firewall-cmd and firewalld manpages for more documentation.
 +
 
 +
==How can I repartition my domu's filesystem?==
 +
See [[Repartition | our page on repartitioning]].
 +
 
 +
==What resources do you overcommit/overallocate?==
 +
Since the server is rarely using 100% of its available CPU time, it is possible to allocate more to a given VPS than it is technically alloted. Our CPU overcommit is 5x-16x, depending on the number of VPS on a given server. We do not overcommit RAM or disc space.

Latest revision as of 05:47, 23 June 2020

Where is my server located?

Our servers are in Santa Clara, California. Internet traffic goes through San Jose, California which is just a few miles away.

Can you set reverse dns?

Yes. By default the vps hostname and reverse dns is set to yourusername.xen.prgmr.com. There is a menu in the ssh console to set it to something else. To prevent Hanky Panky, we require that you set the address record first to what you want the reverse to be.

Can you set my forward dns?

We don't offer a dns control panel, but you can run webmin with bind or another dns server and control panel and we can have our server as a slave for your domain. You can also host dns with another provider such as your registrar. The only DNS we explicitly provide is username.xen.prgmr.com

Can I run a tor node?

A number of customers are running tor relay nodes. At this time we don't have an explicit policy against exit nodes, but we reserve the right to add one. Persistent abuse complaints are not tolerated, so please refer to the Tor project for recommendations on a reduced exit node policy that may be able to avoid abuse complaints.

Can I upgrade my server later on?

Yes, we can give you more memory and disk and you just have to halt and create the server again once the configuration is made. Once the disk is extended, there are several ways to repartition using the new space. See Using disk upgrades.

Can I downgrade my server later on?

Yes, but it can be complicated if you need to preserve the existing data.

Can I change my billing period?

Yes. You may be able to do so by logging in to https://billing.prgmr.com but due to a billing system migration you may need to contact support for the change to be made.

I forgot my ip address, what is it?

Your username.xen.prgmr.com has an address record pointing to the ip address, and dhcp is also configured statically for the mac address and ip address of the vps.

How much does a second ip address cost?

For single IPs, we charge $12 per year. You must give us justification so that our space is being used well. Good reasons include running a STUN server and SSL certificates. Bad reasons include making one vps look like two authoritative dns servers for a domain, or SEO tomfoolery. If you need more than one additional IP please contact us for pricing.

Why does nothing happen when I connect to the console from the menu?

When you connect to the console it only shows you the output since the last time someone looked at the console. If there hasn't been any output, press enter and you should get a login prompt.

I can't seem to ssh root@myserver

permitRootLogin is set to without-password in /etc/ssh/sshd_config, so if you do not have any ssh keys added to the root user, you can't log in. I strongly recommend that you leave that setting, create a non-root user, ssh in as the non-root user and then use su or sudo. You can change permitrootlogin if you must, but make sure you have a strong password.

Logging in through the console makes my terminal act funny

The "emergency console" is very picky. It needs to be 80x24 (or 80x25 or so) otherwise it gets very unhappy. You probably shouldn't do most of your work through that. Create a regular user, ssh in and do your work over ssh. After you disconnect from the xen console you can run reset to make your terminal normal again, or just close it and open a new one.

Multiple xen consoles to the same vps act funny

The xen console doesn't work well at all with multiple access, but there is no locking. Several terminals can attach, but output from the vps will only go to one. For most tasks its better to use ssh, the xen console is most useful when there is no normal network access to the vps, such as when reinstalling.

In CentOS why can't I connect to port 80?

The default firewall configuration in our CentOS image only allows connections on tcp port 22.

On CentOS 6, to allow connections to port 80, or any other port number, run

iptables -I RH-Firewall-1-INPUT 10 -m state --state NEW -p tcp --dport 80 -j ACCEPT

with the port number after --dport. You can also configure the firewall by running system-config-securitylevel-tui. That's going to make things a lot easier from here on out.

By default, CentOS 7 uses firewalld for firewall management. To enable inbound HTTP, you need to issue two commands using the firewall-cmd utility. The first command only adds a new firewall rule to the running system, but does not affect the permanent configuration. The second command makes the configuration permanent. Those commands are:

firewall-cmd --add-service=http
firewall-cmd --permanent --add-service=http

Please see the firewall-cmd and firewalld manpages for more documentation.

How can I repartition my domu's filesystem?

See our page on repartitioning.

What resources do you overcommit/overallocate?

Since the server is rarely using 100% of its available CPU time, it is possible to allocate more to a given VPS than it is technically alloted. Our CPU overcommit is 5x-16x, depending on the number of VPS on a given server. We do not overcommit RAM or disc space.