WebFaction
Community site: login faq

Hi, Have had tons of sites on webfaction, but never had to have a dedicated IP. Now I have an application (it uses SourceGuardian to protect the code) that I believe needs it (my license is specific for one IP address I specify). In general, how do I set one or more of my domain names or subdomains to use this IP, and how does a website or application in the Control panel know to use that?

Also, I also see that ssl needs dedicated IP for a certificate right? That gives you the https right?

Would this affect how I use or address SFTP or SSH when working on my code?

Thanks anyone for advice? Jamie

asked 06 Aug '11, 19:55

onmountain
1112
accept rate: 0%


Hi,

Have had tons of sites on webfaction, but never had to have a dedicated IP. Now I have an application (it uses SourceGuardian to protect the code) that I believe needs it (my license is specific for one IP address I specify). In general, how do I set one or more of my domain names or subdomains to use this IP, and how does a website or application in the Control panel know to use that?

On all our servers we have a frontend server that handles all the (domain+url path)>app bindings. http://docs.webfaction.com/user-guide/_images/inside-the-server.png

It runs on port 80 and 443 on every IP. So, when you create a site on a shared or dedicated IP in the control panel it is the configuration done for the frontend that makes your app use the IP.

You can select the IP for a site from the dropdown for "IP" when you are editing a site.

Also, I also see that ssl needs dedicated IP for a certificate right? That gives you the https right?

Yes, we can only serve one SSL certificate from an IP and the main shared IP serves our certificate so you need your own dedicated IP if you want to use your certificate.

You can run your site on HTTPS even without a dedicated IP but you won't be able to use your own certificate and hence would get a certificate mismatch error.

Would this affect how I use or address SFTP or SSH when working on my code?

No, the shared IP will always be connected to your server so you can continue with SFTP or SSH to that but since the new IP will also point to your server, you could use that too.

permanent link

answered 06 Aug '11, 20:15

neeravk
1.5k3412
accept rate: 41%

edited 06 Aug '11, 20:18

Also, a dedicated IP won't help you with your SourceGuardian-protected app. Your PHP app runs on an Apache instance behind our front-end Nginx server, so by the time the request reaches your app, it will be on 127.0.0.1 and not on the public-facing IP of your site.

As a workaround, you should try to obtain a license that that works via the domain of your site instead of its IP address.

(09 Aug '11, 12:04) seanf
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×23

question asked: 06 Aug '11, 19:55

question was seen: 4,097 times

last updated: 09 Aug '11, 12:13

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM