Jump to content

[Answered] How Do You Enable Addon-Domain Feature For Your Account


sehrguey

Recommended Posts

"The easiest way to deploy a Ruby on Rails application on HelioHost... is creating a new domain with the document root [Home Directory]/app_name/public"

 

These lines from http://wiki.helionet.org/Deploying_a_Rails_application_on_HelioHost made me try to create an addon-domain with cpanel.

 

There is a hint on the creation page:

"Hint: This feature must be enabled for your account before you can use it. Addon domains will not function unless the domain name is registered with a valid registrar and configured to point to the correct DNS servers."

 

The hint flew far above my head and my try at creating an addon domain ended in even less comprehensible (for me) message:

"Using nameservers with the following IPs: 174.137.135.164,77.245.48.84 Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver."

 

Help me, please.

 

yours`

 

sehrguey

 

Link to comment
Share on other sites

What you need is not a addon domain, but a sub-domain.

When you create the sub-domain, you can choose where the files will be stored. Default, cPanel creates a map under your home directory.

Change that to the [Home Directory]/app_name/public.

Link to comment
Share on other sites

What you need is not a addon domain, but a sub-domain.

When you create the sub-domain, you can choose where the files will be stored. Default, cPanel creates a map under your home directory.

Change that to the [Home Directory]/app_name/public.

 

Thank you whole-heartedly!

 

It's just a bit hard for a newbie to figure out that "a new domain" at the official instruction page really means "a sub-domain".

Regardless.

I'll follow your advice only could you be a little more specific about mapping created by cPanel please?

 

Default, cPanel creates a map under your home directory.

 

yours`

 

sehrguey

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...