04-14-2023, 10:09 PM
<strong>Question:</strong>
Hi, well first of all THANKS ehcp is way too good to be true!
Well, my problem is: I just had a linode vps (linode.com), then I installed ehcp and domains are working correctly and I had already configured google apps for one of them. Linode uses a DNS manager for each VPS so I think I have now 2 DNS to configure: Linode's and ehcp's.
I want to add the hpanel domain to one of the ehcp's hosted domains: http://hpanel.devxxxx.com/ (devxxxx.com is a domain under ehcp control) but I only get a 404. I added an A record to Linode's DNS configuration for devxxxx.com (each domain I add in ehcp I'm adding it to Linode's DNS Manager):
hpanel A 72.xx.yy.24
and I just add a subdomain in ehcp for that domain called hpanel.
But I still get a 404.
Do you have any ideas why?
Thanks a lot.
<strong>Answer:</strong>
Thank you for your good wishes.
First of all, in fact, you dont need to manage two dns's at the same time.
There are two ways, you either manage linode dns manager or ehcp dns manager.
1-You redirect all your domains to ehcp server ip (you set dns of your domains as pointed to your server ip), then manage dns in ehcp. In fact, as long as you don do something custom, special, in ehcp, you dont need to manually manage dns; ehcp automatically manage dns as you set up domains and subdomains.
2- Or, You manage dns only in linode dns manager; then you don't need to do anything special in ehcp.
Managing two dns's simultaneously is not a good idea and is a hard work.
Second, as i noticed, the A record that you add is some wrong.. maybe you misspelled here, while posting. Actually it should be:
hpanel IN A 72.xx.yy.24
After setting correct dns entry in linode dns manager,
add a subdomain in ehcp. Then, after 10 sec, your subdomain should be accessible there... if:
1- your ehcp daemon runs, (if not, you should get a warning in your ehcp gui), if everything went fine, you may look at logs with: "tail -f /var/log/ehcp.log" in console
2- you are at different network with your server. If you are in same internal network as your server, you need some more configuration; for linode.com i think, you are outside of linode network
try looking at logs,
then lets try to figure out together..
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Hi, well first of all THANKS ehcp is way too good to be true!
Well, my problem is: I just had a linode vps (linode.com), then I installed ehcp and domains are working correctly and I had already configured google apps for one of them. Linode uses a DNS manager for each VPS so I think I have now 2 DNS to configure: Linode's and ehcp's.
I want to add the hpanel domain to one of the ehcp's hosted domains: http://hpanel.devxxxx.com/ (devxxxx.com is a domain under ehcp control) but I only get a 404. I added an A record to Linode's DNS configuration for devxxxx.com (each domain I add in ehcp I'm adding it to Linode's DNS Manager):
hpanel A 72.xx.yy.24
and I just add a subdomain in ehcp for that domain called hpanel.
But I still get a 404.
Do you have any ideas why?
Thanks a lot.
<strong>Answer:</strong>
Thank you for your good wishes.
First of all, in fact, you dont need to manage two dns's at the same time.
There are two ways, you either manage linode dns manager or ehcp dns manager.
1-You redirect all your domains to ehcp server ip (you set dns of your domains as pointed to your server ip), then manage dns in ehcp. In fact, as long as you don do something custom, special, in ehcp, you dont need to manually manage dns; ehcp automatically manage dns as you set up domains and subdomains.
2- Or, You manage dns only in linode dns manager; then you don't need to do anything special in ehcp.
Managing two dns's simultaneously is not a good idea and is a hard work.
Second, as i noticed, the A record that you add is some wrong.. maybe you misspelled here, while posting. Actually it should be:
hpanel IN A 72.xx.yy.24
After setting correct dns entry in linode dns manager,
add a subdomain in ehcp. Then, after 10 sec, your subdomain should be accessible there... if:
1- your ehcp daemon runs, (if not, you should get a warning in your ehcp gui), if everything went fine, you may look at logs with: "tail -f /var/log/ehcp.log" in console
2- you are at different network with your server. If you are in same internal network as your server, you need some more configuration; for linode.com i think, you are outside of linode network
try looking at logs,
then lets try to figure out together..
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.