<p><a href="http://buildwithcraft.com/docs/multi-environment-configs" rel="nofollow">http://buildwithcraft.com/docs/multi-environment-configs</a></p>

<pre><code>'example.com' =&gt; array(...
</code></pre>

<p>'should' work with an address like:</p>

<pre><code>'123.45.67.89/%7eusername' =&gt; array(...
</code></pre>

<p>You might also try:</p>

<pre><code>'123.45.67.89/~username' =&gt; array(...
</code></pre>

<p>Although using a proper domain name as in my comment above would be better.</p>

<p>Good luck. :)</p>

CC BY-SA 3.0
2015-11-15T12:28:26.880Z
Thx. I will try it. Was not sure if the ~ would cause any issues
Bryan Garrant
CC BY-SA 3.0
2015-11-15T12:29:01.777Z
I was just wondering if anyone tried it this way yet
Bryan Garrant
CC BY-SA 3.0
2015-11-15T12:26:20.500Z
2015-11-15T12:26:20.500Z
Steve Adams
<p>When you create an account in cpanel you can use a URL to access it like <a href="http://ip/%7Eusername/" rel="nofollow noreferrer">http://ip/%7Eusername/</a>, which is basically <a href="http://ip/~username/" rel="nofollow noreferrer">http://ip/~username/</a>. Since the client is not ready to take down their old site and we are moving hosts, can Craft run on a URL with the ~username or %7E in the URL? They do not have a dedicated IP unfortunately. Thanks in advance. </p>

<p>I know the license will be needed, but can we change the URL to the real one when ready to go LIVE?</p>

CC BY-SA 3.0
2015-11-15T12:16:40.363Z
Assuming you have auth over the DNS,  why not just create an A record for dev.example.com pointing to new IP?
Steve Adams
CC BY-SA 3.0
2015-11-15T12:27:34.073Z
I do not have DNS access yet. They are working on that.
Bryan Garrant
CC BY-SA 3.0
2015-11-15T12:30:29.310Z
I keep a prototype domain just for this purpose.  There is no reason not to use dev.whatever.com when you control whatever.com
Steve Adams
CC BY-SA 3.0
2015-11-15T12:31:07.763Z
How do I update the license to the new URL when site is ready?
Bryan Garrant
CC BY-SA 3.0
2015-11-15T12:32:37.737Z
I have a few dedicated IPs I can also use on my server if needed. Just wondering how to update the license domain when ready to change
Bryan Garrant
CC BY-SA 3.0
2015-11-15T12:33:18.807Z
It will prompt you when you login to the new location for the first time.  dev. domains are not validated against the license anyway.
Steve Adams
CC BY-SA 3.0
2015-11-15T12:34:42.993Z
http://buildwithcraft.com/help/license-enforcement
Steve Adams
CC BY-SA 3.0
2015-11-15T12:35:06.110Z
Is using just an IP a valid DEV environment? I thought we needed to use .dev?
Bryan Garrant
CC BY-SA 3.0
2015-11-15T12:36:55.107Z
Our web service checks the following when determining if a domain is public. If any of these checks pass, we determine that the domain is not public:

Does it only consist of one segment (e.g. “localhost”)?Is it an IP address?Does it have a port, and is it something besides 80 or 443?Does it have a dev-sounding subdomain (e.g. ‘craftdemo’, ‘dev’, ‘local’, ‘loc’, ‘test’, ‘testing’, ‘sandbox’, ‘stage’, ‘staging’, ‘acc’ or ‘acceptance’)?Does it have a non-standard TLD?
Steve Adams
CC BY-SA 3.0
2015-11-15T17:56:11.143Z
So I have craft uploaded to a subdomain, but how can I get the system folder above webroot since there could be more than one DEV site? Since subdomains are setup like "/path/user/public/subdomain1" "/path/user/public/subdomain2", where and how do I setup the system folders??
Bryan Garrant
CC BY-SA 3.0
2015-11-15T17:59:38.853Z
Would I be better to just share the same system folder for all site and setup a config switch or something?
Bryan Garrant
CC BY-SA 3.0
2015-11-15T18:04:08.940Z
Or should I just leave the system folder in the sub domain folder to keep things simple for development?
Bryan Garrant
CC BY-SA 3.0
2015-11-15T18:32:17.247Z
I always set s custom path on sun domains for that reason.  Just add another level in the path when you add the sub, that way you can keep it above the HTML root. I use /subdomains/sitename/public_html/  then put Craft in the sitename directory.
Steve Adams
CC BY-SA 3.0
2015-11-15T19:19:05.303Z
Great idea Steve. Thx
Bryan Garrant
<config><craft-features>
Is it possible to install Craft on a cPanel temp user URL?
# Is it possible to install Craft on a cPanel temp user URL?

(Asked by: username_0 on 2015-11-15)

When you create an account in cpanel you can use a URL to access it like <http://ip/%7Eusername/>, which is basically <http://ip/~username/>. Since the client is not ready to take down their old site and we are moving hosts, can Craft run on a URL with the ~username or %7E in the URL? They do not have a dedicated IP unfortunately. Thanks in advance.

I know the license will be needed, but can we change the URL to the real one when ready to go LIVE?

**Tags:** config, craft-features

> **Comments:**
> **username_1**: Assuming you have auth over the DNS,  why not just create an A record for dev.example.com pointing to new IP?  
> **username_0**: I do not have DNS access yet. They are working on that.  
> **username_1**: I keep a prototype domain just for this purpose.  There is no reason not to use dev.whatever.com when you control whatever.com  
> **username_0**: How do I update the license to the new URL when site is ready?  
> **username_0**: I have a few dedicated IPs I can also use on my server if needed. Just wondering how to update the license domain when ready to change  
> **username_1**: It will prompt you when you login to the new location for the first time.  dev. domains are not validated against the license anyway.  
> **username_1**: http://buildwithcraft.com/help/license-enforcement  
> **username_0**: Is using just an IP a valid DEV environment? I thought we needed to use .dev?  
> **username_1**: Our web service checks the following when determining if a domain is public. If any of these checks pass, we determine that the domain is not public:  Does it only consist of one segment (e.g. “localhost”)?Is it an IP address?Does it have a port, and is it something besides 80 or 443?Does it have a dev-sounding subdomain (e.g. ‘craftdemo’, ‘dev’, ‘local’, ‘loc’, ‘test’, ‘testing’, ‘sandbox’, ‘stage’, ‘staging’, ‘acc’ or ‘acceptance’)?Does it have a non-standard TLD?  
> **username_0**: So I have craft uploaded to a subdomain, but how can I get the system folder above webroot since there could be more than one DEV site? Since subdomains are setup like "/path/user/public/subdomain1" "/path/user/public/subdomain2", where and how do I setup the system folders??  
> **username_0**: Would I be better to just share the same system folder for all site and setup a config switch or something?  
> **username_0**: Or should I just leave the system folder in the sub domain folder to keep things simple for development?  
> **username_1**: I always set s custom path on sun domains for that reason.  Just add another level in the path when you add the sub, that way you can keep it above the HTML root. I use /subdomains/sitename/public_html/  then put Craft in the sitename directory.  
> **username_0**: Great idea Steve. Thx  

---

## 1 answers

### Answer by username_1 on 2015-11-15. Score: 2

http://buildwithcraft.com/docs/multi-environment-configs
'example.com' => array(...

'should' work with an address like:
'123.45.67.89/%7eusername' => array(...

You might also try:
'123.45.67.89/~username' => array(...

Although using a proper domain name as in my comment above would be better.
Good luck. :)

> **Comments:**
> **username_0**: Thx. I will try it. Was not sure if the ~ would cause any issues  
> **username_0**: I was just wondering if anyone tried it this way yet  

---

