Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
ADD DOMAIN (can't find v...
Forum: Ehcp General, uncategorized yet
Last Post: RichardCrite
11-24-2024, 02:03 AM
» Replies: 29
» Views: 52,919
|
EHCP API1 error
Forum: Ehcp Development
Last Post: robind99
04-14-2023, 10:14 PM
» Replies: 4
» Views: 3
|
EHCP API Setup subdomain
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 67
|
EHCP auto startup nginx i...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
VSFTPD
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 3
» Views: 5
|
PHP failed copy
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 3
|
install echp + node js
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
About Beta Software, Ehcp...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
La marque de l'enseigne C...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 0
|
On portera une attention ...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
|
|
Step by step setup of DNS Nameservers for EHCP with Godaddy registrar. |
Posted by: Oliver - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
I have composed a step by step tutorial for newbies to setup the Name servers on your EHCP Host, with domains registered at Godaddy website and have a static IP Router, In theory it should be very similar with other domain registrars not only the one mentioned, if you follow step by step this tutorial your EHCP will process URL's and Emails no problem.
<ul>
<li><strong>First install latest EHCP<strong></li>
Install the latest EHCP and make sure all components have started and there are no error messages coming up.
<li><strong>Second, register a .com, .net... domain<strong></li>
We register or use an existing domain at godaddy account and then go to our domains list, select the domain we wish to use as a name server Example: (mycoolserver.com) and click on it to enter the Domain Manager, once loaded at the bottom of the page under where we normally put the nameservers we will find a section that says: "Host Summary (add)" click on add and a popup will appear we create the first Host name: ns1.mycoolserver.com and point it to our host external IP, you can put many but in our case one is enough, SAVE and do the same again and add ns2.mycoolserver.com and point it again to our external IP and SAVE.
For .com domains godaddy says it takes 5-6 hours to process and up to 24h for .net so be patient.
Now we can go to the name servers section of our domain of our domain (mycoolserver.com) and add our own name servers we have created so add ns1.mycoolserver.com & ns2.mycoolserver.com, if the name servers have been created correctly in the previous steps Godaddy won´t give you an error. If you get an error start from the beginning.
<li><strong>Third, config EHCP<strong></li>
Login admin account to EHCP and go to "•Add DNS only" here we add the [domainname] we have setup at Godaddy "mycoolserver.com" and [serverip] our external IP then we save/send query.
IMPORTANT!, this had me bonkers for a while: MAKE SURE THAT PORT 53 IN YOUR ROUTER IS REDIRECTED TO YOUR LOCAL IP WHERE YOUR SERVER IS RUNNING.
BASIC PORTS we need to forward to our local IP:
- 20 TCP FTP – data transfer
- 21 TCP FTP – control (command)
- 25 TCP Simple Mail Transfer Protocol (SMTP)—used for e-mail routing between mail servers
- 53 TCP/UDP Domain Name System (DNS)
- 80 TCP/UDP Hypertext Transfer Protocol (HTTP)
That's it!
Now us or our clients can register a domain from any registrar and add the name servers we provide: NS1.MYCOOLDOMAIN.COM & NS2.MYCOOLDOMAIN.COM then add the domain in the EHCP panel and that's it!
</ul>
Restored from old drupal forum, for user uid:3655 username:Oliver
You may reset your password to access your new account here.
|
|
|
Drupal multisite installation on ehcp Server |
Posted by: panoulis - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hallo everybody
Ehcp is a wonderfull app for hosting
I have a problem trying to setup drupal multisite (one core drupal installaion for many sites) in my ehcp server.I have tried many things but nothing worked.
1.Installed a lamp server (192.168.1.10) ubuntu and debian .
Tested apache (/var/www) , mysql an php everything is ok
2.Installed ehcp without any problems So 192.168.1.10/vhosts/ehcp points to ehcp admin control panel.
3.I installed drupal in /var/www/drupal and made the multisite option availiable configuring the settings.php for both sites
via 192.168.1.10/drupal/sites/www.mydom.lan & www.mytom.lan
. Adding to my /etc/hosts file
192.168.1.10 www.mydom.lan
192.168.1.10 www.mytom.lan
and enable virtual hosts for apache I was able to enter both sites from my browser
(e.g of my virtual host file for www.mydom.lan)
ServerAdmin webmaster@localhost
ServerName www.mydom.lan
DocumentRoot /var/www/drupal
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
Returning to ehcp I ve created the www.mydom.lan via easy add domain option and disable the virtualhost that i created before.Pointing with my browser now after restarting apache at www.mydom.lan returned me the ehcp default.html page created with a new empty domain.
My problem is that I cannot redirect apache template created by ehcp to my drupal multisite installation (var/www/drupal) I tried changing in the ehcp template the DocumentRoot but it didn't work
UseCanonicalName Off
#DocumentRoot {homedir}/httpdocs
DocumentRoot /var/www/drupal/sites/www.mydom.lan/
I m sure I have mixed something
Any Help appreciated
Thanx
Restored from old drupal forum, for user uid:3554 username:panoulis
You may reset your password to access your new account here.
|
|
|
Joomla updates |
Posted by: mfreeoff - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (3)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Not sure if EHCP can do what I am wanting (I noticed in the forum that EHCP can not overwrite file in the Easy Install Scripts. What I am wanting to do is have updates for Jooomla which needs to download the update (which I know how to add the link in the Easy Install Script) then have it unzip the files into the root directory of the website. Is there a "commandaftercopy" that I can add to accomplish this?
Also after a server update I am getting a “your ehcpserver-error in apache config-custom settings”
Any help would greatly be appreciated.
Mike
Restored from old drupal forum, for user uid:3579 username:mfreeoff
You may reset your password to access your new account here.
|
|
|
Basic Server Security Guide (BSSG) |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
<li>Hi, this is a basic, simple security guide for your server. You should consult a full security related site/expert/article/book about security.
<li>Make your passwords some long and unpredictable. For ex, 123456 is not a good pass for a production environment.
<li>Try to choose your linux root pass different from mysql pass.
<li>Do not disable open_basedir in your server. if you do: http://ehcp.net/?q=node/705
<li>Try to check all scripts that you install against sql injection, or xss. if your php code is vulnerable, people may steal your database or delete.
<li>do not give your passwords to anyone that you dont know.
<li>update your server, ehcp regularly: apt-get update ; apt-get upgrade for ehcp, download it and overwrite except config.php, re-login
<li>check your server for viruses or backdoors regularly,
<li>watch your logs regularly,
<li>that was a basic quide.
<li>this is somewhat advanced, but very important:http://ehcp.net/?q=node/1106
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Q & A: private dns-nameserver and customization |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Guest: Is there any tutorial where it shows you how to setup private name servers?
the CP looks cool and promising
me: .
no need to tutorial
with ehcp,
you already has private name servers.
you already have
Guest: it looks complex
me: 1m
Guest: I have set them up at godaddy
me: just follow http://www.ehcp.net/helper/yardim/cat.php?cid=4
you will have your own nameserver
http://www.ehcp.net/helper/yardim/cat.php?cid=4
there is som tut like this.
Guest: so i already registered 2 name servers at my registrar
now nothing to do on ehcp?
me: just add/setup your domain. nothing else
add in ehcp
that easy.
understand ?
it should work, if you did all redirection on registrar, and ports on your router/modem
say your domain
let mecheck
Guest: ah nice
working
me:
Guest: it probably needs more time for propagation
me: some time yes.
Guest: i could see the uc page using proxy
so all seems t be fine
so it isn't like cPanel
you need to add them again in WHM
?
me: I dont know much about WHM and its function. no idea
Guest: I see
are you one of the developers?
me: yes
Guest: If we want a white label ehcp , actually give it a complete new name and make a simpler user interface , less control
can we make a deal on hat
that*
do you have an idea about the cost?
me: .
sory, did not understand fully. do you want to help on web design of ehcp ? or give a quote on that ?
your email ?
Guest: I want to rebrand ehcp , make it look simpler , Less Control, I mean i want to give it our own brand name instead of ehcp
and im asking if you would agree without, tell me the cost
me: 1m
Guest: ok
me: normally, ehcp is opensource, and you can modifye/use it as you wish..
so , you dont have to pay for modifying and using it.
however, if you wish, you can donate,
so that development goes better.
I dont say you any cost/amount of money for that.
you can donate any amount you wish
Guest: I know it is open source, do not you mind if i remove ehcp link?
after donating an amount of money for an example.
?
me: hmmm.
1m
me: I normally prefer that, at least one small link is left on somewhere, however, if you wish, you can remote that too, after donating.. and thank you for asking permission for that... as somebody even do not ask...
thank you for you kindness while asking to remove links.
Guest: yes sure i ask, i wouldn't remove the link just like that
so also if io want some customazation, you do that kind of work?
me: and if possible, It would be better that we can use your design, except branding,
that depends on your needs.
we can do some work.
describe what you need, what kind of customization. and I will tell you
if it is possible or not, in near time.
not every combination may be possible.
if you want just "template" to be modified, you can make it by outsourcing on any html designer.
it is an html
Guest: I understand , you're being easy guy , like that
lol
so this is your email addresss
is it gmail?
I may need some customization really soon
Guest: I will contact you shortly :
Thank you for the friendly chat!
me: see you
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Disable auto account creation |
Posted by: mnrbig - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
How do you disable auto account creation?
Restored from old drupal forum, for user uid:3542 username:mnrbig
You may reset your password to access your new account here.
|
|
|
Q&A: apache template, dns template |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
(note: some questions from emails are answered here, so that everyone can utilize. let me know if something private to you is written here.i will remove that info.If you wish, I may also remove whole question/answer.)
here are my advices/suggestions:
* unless you know what you are doing, or you are sure what you are doing, do Not edit those templates (especially dns template, it contains many things needed.); because those templates are working in most cases. you normally do not need to edit them. even if you use your own dns (actually ehcp also does like that, your own dns), you dont needt to edit them.
* in dnstemplate, you dont need to replace "{domainname}" with your actual domainname, that conversion is done by ehcp, automatically. and, it is safer to leave it as {domainname}, to prevent typos. same applies for apachetemplate.
* to run multiple cms site (multiple sites that have cms inside) you dont need to edit any template/setting in ehcp, AFAIK, just setup/add your domains one by one, then, install any cms inside.
* if you need to setup a "multiple cms accross many sites" (one cms, many sites) this is something different. do you want this ?
* backup your apache templates in ehcp gui, so that you may rollback. (maybe we can integrate this feature in ehcp)
* in case you fail something, just "delete from customsettings" in mysql, so that, all custom settings are reset, and you revert to original template.
* many things are related to "apache configs". and can be done in apachetemplate in ehcp gui. So, if something can be done in apache configs, then you need to know related apache configs. and ehcp is only a gateway to apache/nginx configs. For detailed apache config questions, you need to consult to apache documentation, ehcp is mostly transparent to apache.
On Thu, Oct 7, 2010 at 11:46 PM, Jxxxxxxx <jxxxxxx@gmail.com> wrote:
> I am a little bit confused. I set this up before, and was working following
> the documentations. Then I was using it for just one site. this is what I
> did. I opened up the apache and dns template in ECHP GUI and enter the dns
> and ip in the following:
>
> #____________start of
> {domainname}__paneluser:{panelusername}_reseller:{reseller}_id:{id}____________
> # explanation {aciklama}
> <VirtualHost *>
> ServerName {domainname}
> ServerAlias www.{domainname}
> # buraya aliaslar yazilacak..
> {aliases}
> UseCanonicalName Off
> DocumentRoot {homedir}/httpdocs
> ScriptAlias /cgi-bin/ {homedir}/httpdocs/cgi-bin/
>
> # this combined log format is understandable by webalizer... some
> other formats are not recognised by webalizer.. thats why, specified here
> explicitly..
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
> LogFormat "%v:%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
> vhost_combined
> CustomLog {homedir}/logs/access_log combined
> CustomLog /var/log/apache_common_access_log vhost_combined
>
> php_admin_value open_basedir {homedir}
> php_admin_value upload_tmp_dir {homedir}/phptmpdir
> php_admin_value session.save_path {homedir}/phptmpdir
> AccessFileName .htaccess
>
> <Directory {homedir}>
> AllowOverride all
> </Directory>
>
> {customhttp}
> </VirtualHost>
> <VirtualHost *>
> ServerName webmail.{domainname}
> ServerAlias mail.{domainname}
> ServerAlias email.{domainname}
> DocumentRoot /var/www/vhosts/ehcp/webmail
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
> LogFormat "%v:%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
> vhost_combined
> CustomLog {homedir}/logs/access_log combined
> CustomLog /var/log/apache_common_access_log vhost_combined
> php_admin_value open_basedir /var/www/vhosts/ehcp/webmail
> php_admin_value upload_tmp_dir /var/www/vhosts/ehcp/webmail/data
> php_admin_value session.save_path /var/www/vhosts/ehcp/webmail/data
> </VirtualHost>
>
> <VirtualHost *>
> ServerName cpanel.{domainname}
> ServerAlias panel.{domainname}
> ServerAlias ehcp.{domainname}
> ServerAlias cp.{domainname}
> DocumentRoot /var/www/vhosts/ehcp/
> LogFormat "%v:%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" vhost_combined
> CustomLog /var/log/apache_common_access_log vhost_combined
> php_admin_value open_basedir /var/www/vhosts/ehcp/
> </VirtualHost>
> #____________end of
> {domainname}__paneluser:{panelusername}_reseller:{reseller}_id:{id}____________
>
> REPLACING ALL THE DNS NAME WITH THE DOMAIN I REGISTERED.
> $TTL 86400
> @ IN SOA ns.{domainname}. {dnsemail} (
> {serial} ; Serial
> 10800 ; Refresh
> 1200 ; Retry
> 86400 ; Expire
> 864
|
|
|
How to Downgrade php 5.3 to 5.2 |
Posted by: alsrmurad - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (2)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
some one help to downgrade php 5.3 to 5.2 becaus esome script are not working properly in php 5.3. thanks in advance.
Restored from old drupal forum, for user uid:3172 username:alsrmurad
You may reset your password to access your new account here.
|
|
|
Create ftp acc in EHCP for all domains |
Posted by: userQ - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
How create ftp acc in ehcp to access into the /var/www/ and after that added domains contain in /var/www/[domain]. Once I did than but don't remeber how.
Restored from old drupal forum, for user uid:3501 username:userQ
You may reset your password to access your new account here.
|
|
|
Using EHCP for internal server for training purposes |
Posted by: wyxa - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (8)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hello!
Sorry, if I'm repeating some previous topic, but I could find a solution.
I installed EHCP at a server with static IP in LAN. I'm gonna use this server for training purposes, for users create and upload websites to the server. The <b>server will not be used to access from outside</b>.
My question is: can I have <b>non-existing domain names</b> (e.g. www.server.lan, www.user1.lan, www.user2.lan...) to be used <b>within LAN</b>? I mean, all domain names are registered through the EHCP-server and can be accessible by the other PC-s within LAN.
I understand, that probably i need to edit /etc/hosts files on each PC. I can do that, or look for some automated solutions.
I want users to login to EHCP on www.server.lan and be able to control their domain names, ftp-accounts, etc.
Say, user1 will have
- domain name www.user1.lan
- web-folder, located at /var/www/user1
- ftp-account user1, granted all permissions within /var/www/user1
- mysql-database
...
Is this possible to do with EHCP?
I'll appreciate any help!
Thank you for your great contribution and passion for Open Source!
Restored from old drupal forum, for user uid:3497 username:wyxa
You may reset your password to access your new account here.
|
|
|
|