04-14-2023, 10:07 PM
this is taken from a question and answer:
ehcp is for hosting, you may host domains in ehcp. yourdomain.com can also be hosted on ehcp. this is upon your choice.. if you have already hosting for yourdomain.com, then you may not need to transfer its hosting to ehcp (which runs on your server)/your server..
or you may choose to transfer it to your server, ehcp..
if you dont have already hosting for yourdomain.com, then you should only "redirect " it to your server (ehcp). redirecting means, you set your server ip, as the dns of yourdomain.com. Thus, anyone who wants to reach yourdomain.com will be redirected to your server. You have to redirect to your (this, ehcp-installed) server to host your domain yourdomain.com in your server.. this is so called hosting..
To redirect: i think You should use "transfer dns to webhost" feature. you should be able to write ips too.. if you cant, look something "register dns server" on your namecheap domain control panel... there should be something like this..... it have to be... then register your own dns server with ns.yourdomain.com for single dns server, or ns1.yourdomain.com, ns2.yourdomain.com if you need two dns server, these may have same ip... if you have difficulty in doing this, i may help you...
we come to ehcp:
ehcp does not require a domainname to host inside it.. ehcp may be hosted on a server ip directly.... buf if you want, you may also copy its files to some domain's hosting space and run it from there... but you dont have to do so... for instance, you may do:
1- first, run ehcp from your servers ip
2- create your domain yourdomain.com using ehcp, redirect your domains dns to your server ip...
3- copy your files under yourdomain.com domain in your server, such as yourdomain.com/ehcp .. (copy files under /var/www/vhosts/ehcp/* to /var/www/vhosts/yourdomain/yourdomain.com/httpdocs/)
this way, your ehcp runs from nowon on your server, under your domain account...
Another similar answer:
you need to register your domain in a domain seller, then redirect your domain to your server as dns..
you need to register your server as dns server in your domain seller.
domain seller's usually have sections like register dns.
Go to register dns,
enter ns1.yourdomain.com to name, and your external/real server ip as dns ip.
you may use same ip for both ns1.yourdomain.com and ns2.yourdomain.com
Unfortunately, some domain sellers does not allow same ip for ns1 and ns2. In this case, you need either a secondary ip for your server, or you need to port your domain to another domain seller/registrar..
Additionally:
* if you are using your server to access you pages, that is hosted on same server/ehcp, then make sure that you checked checkbox at settings, "This machine is used for Desktop access too (Update hosts file with domains) " - placed on top of settings.. Otherwise, you wont be able to see your domains on your local server...
* if you are on same internal Local Area Network - LAN as your server that you installed ehcp, then you wont be able to access your domains until you update your hosts file (linux/windows) with info like domains at /etc/hosts. Please be sure that this is a case only you are on same lan as your server. (Used by some companies..)
have a look at relevant pages too:
http://www.ehcp.net/?q=node/167
http://www.ehcp.net/?q=node/106
http://www.ehcp.net/?q=node/104
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
ehcp is for hosting, you may host domains in ehcp. yourdomain.com can also be hosted on ehcp. this is upon your choice.. if you have already hosting for yourdomain.com, then you may not need to transfer its hosting to ehcp (which runs on your server)/your server..
or you may choose to transfer it to your server, ehcp..
if you dont have already hosting for yourdomain.com, then you should only "redirect " it to your server (ehcp). redirecting means, you set your server ip, as the dns of yourdomain.com. Thus, anyone who wants to reach yourdomain.com will be redirected to your server. You have to redirect to your (this, ehcp-installed) server to host your domain yourdomain.com in your server.. this is so called hosting..
To redirect: i think You should use "transfer dns to webhost" feature. you should be able to write ips too.. if you cant, look something "register dns server" on your namecheap domain control panel... there should be something like this..... it have to be... then register your own dns server with ns.yourdomain.com for single dns server, or ns1.yourdomain.com, ns2.yourdomain.com if you need two dns server, these may have same ip... if you have difficulty in doing this, i may help you...
we come to ehcp:
ehcp does not require a domainname to host inside it.. ehcp may be hosted on a server ip directly.... buf if you want, you may also copy its files to some domain's hosting space and run it from there... but you dont have to do so... for instance, you may do:
1- first, run ehcp from your servers ip
2- create your domain yourdomain.com using ehcp, redirect your domains dns to your server ip...
3- copy your files under yourdomain.com domain in your server, such as yourdomain.com/ehcp .. (copy files under /var/www/vhosts/ehcp/* to /var/www/vhosts/yourdomain/yourdomain.com/httpdocs/)
this way, your ehcp runs from nowon on your server, under your domain account...
Another similar answer:
you need to register your domain in a domain seller, then redirect your domain to your server as dns..
you need to register your server as dns server in your domain seller.
domain seller's usually have sections like register dns.
Go to register dns,
enter ns1.yourdomain.com to name, and your external/real server ip as dns ip.
you may use same ip for both ns1.yourdomain.com and ns2.yourdomain.com
Unfortunately, some domain sellers does not allow same ip for ns1 and ns2. In this case, you need either a secondary ip for your server, or you need to port your domain to another domain seller/registrar..
Additionally:
* if you are using your server to access you pages, that is hosted on same server/ehcp, then make sure that you checked checkbox at settings, "This machine is used for Desktop access too (Update hosts file with domains) " - placed on top of settings.. Otherwise, you wont be able to see your domains on your local server...
* if you are on same internal Local Area Network - LAN as your server that you installed ehcp, then you wont be able to access your domains until you update your hosts file (linux/windows) with info like domains at /etc/hosts. Please be sure that this is a case only you are on same lan as your server. (Used by some companies..)
have a look at relevant pages too:
http://www.ehcp.net/?q=node/167
http://www.ehcp.net/?q=node/106
http://www.ehcp.net/?q=node/104
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.