Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,022
» Latest member: Stevennal
» Forum threads: 1,045
» Forum posts: 1,114

Full Statistics

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,846
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

 
  redirect email to another server, other than mx record
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos - Replies (1)

On the EHCP server, we have domain.com, we are ONLY performing web hosting, no mail.
Inside domain.com we have a file called email_form.php
This page sends an email to info@domain.com. The EHCP is set up to receive ANY mail that is sent to it. Meaning the web-site domain.com will also send its mail to the local host to be processed, if the local host CAN accept mail for domain.com, it will.

It is kinda hard to explain.

The mail generated from the web form is sent to the local mailer to be processed (sent out). If the local mailer, IS postfix, and postfix can accept mail for the domain sending the mail, then it will search for the email address located inside the virtual mailbox. IF the virtual mailbox (or email address) doesn't exist then postfix bounces it, back to the sender, and the sender IS the local domain name email address.


[WEb Server] [ email server]
hosts domain.com host domain.com
(has postfix) (has postfix)

if the web server sends email to domain.com, then the web-server will accept the mail for domain.com.
A DNS request is never performed.

I hope this makes some sense.



On Mon, Jun 4, 2012 at 9:37 AM, ehcp.net <info@ehcp.net> wrote:

You say, "EHCP server WILL NOT accept any mail that is destined for
the domain names it hosts"
why the mail would arrive at this server, if mx record points to
another server ?
I mean, If you set mx record point to another server, the email should
never arrive at this ehcp server...

what you think ?

On Mon, Jun 4, 2012 at 4:32 PM, David wrote:
> No worries, on the relay, I got it to work. So this might help someone else,
> if you want to post it.
>
> To set up a successful relay, so that EHCP will NOT accept email destinted
> to a domain name it is hosting, perform these step.
>
> 1) Create a sasl_password file.
> sudo touch /etc/postfix/sasl_password
>
> 2) Edit /etc/postfix/sasl_password
> sudo vim /etc/postfix/sasl_password
>
> 3) Insert your username and password
> SMTP.DOMAIN.COM username_or_email-address:password
>
> 4) Now you have to make the file so that postfix can read it. - this will
> create a dot db file
> sudo postmap /etc/postfix/sasl_password
>
> 5) Edit the postfix configuration file.
> sudo vim /etc/postfix/main.cf
>
> On like 37 I have added these two lines
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> relayhost = [YOUR_SMTP_HOST]:25
>
> Around line 51 comment out the two lines
> virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
> virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
>
> 6) Restart the postfix server
> sudo /etc/init.d/postfix restart
>
> You should NOW have a successful relay setup. Your EHCP server WILL NOT
> accept any mail that is destined for the domain names it hosts. This is very
> useful, if you use seperate EHCP server to host domain names. IE, 1 server
> for mail and 1 server for web.
>
> ---[ END ]---
>
> Correct me if I am wrong, I believe the multi-server structure would also
> correct this, when implementated.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.

Print this item

  Online Pokies and Gambling
Posted by: Jarrod - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos - Replies (1)

While it is all about gambling and making money out of it, the <a href="http://www.aussiecasino.org">online pokies</a> and other gambling games are the best option to go. You have lots of chances of winning your dream money. Moreover, there are chances that you do not have to risk big amounts as well. Playing online pokies is such an outstanding and exhilarating experience that would refresh your mind and a bit better gaming strategy would make you feel proud of your luck. There are in fact endless possibilities and chances in online gaming and the best thing to go with these games is that you can do all of that at the comfort of your home. You don’t have to attend the land based bars, casinos and pubs. This is all possible with the single clicks of your computer mouse. What you need to do is nothing but discovering these online possibilities of making cash.
Finding the free online pokies is something very good for those who are newbie players. If you’re still in the learning phase, you do not need to risk your real cash. You just go for the free online pokies games. The best option that you enjoy with free games is that you do not have to invest your money. Moreover, you do not need an account to access these online games. It is all on your discretion whether you want to bring your real cash at risk or not. But at the same time, it is well known that money attracts the money. If you find yourself competent enough to play and win these online games, you can go for hard cash.
The online pokies that are being offered free are of great benefit to those guys who do not know the basic themes of these games. They can easily learn and understand what these online games are and how to play them. All this is done without putting your hard-earned money on the risk. If you think that you have got mature enough to play with real cash, you should look for such websites that are offering good amount of signup bonuses. These bonuses are sometimes 100% of your real money and sometimes even more than that. How does that sound? I hope it’s interesting and intriguing as well.

Restored from old drupal forum, for user uid:4707 username:Jarrod
You may reset your password to access your new account here.

Print this item

  Joomla Language
Posted by: madz - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos - Replies (8)

installed joomla using the script, the default language is set to turkish even though i selected english to edit. How to revert everything to english?

Restored from old drupal forum, for user uid:2624 username:madz
You may reset your password to access your new account here.

Print this item

  Domain help
Posted by: crookiecookie - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos - Replies (3)

I have a domain xxxx.com & xxxx.co.uk
when i add theese to ehcp through add domain
it adds fine i get the folders in /var/www/vhosts/xxx/xxx

But when i type xxxx.com or xxxx.co.uk all i get is ehcp default page and not the uder construction page
Before i had normall apache2 and worked in /var/www when i typed xxxx.com

I have a static ip

Just cant get it to work

Ftp works fine

if i put files in /var/www and get rid of index.html it works aswell



Restored from old drupal forum, for user uid:4518 username:crookiecookie
You may reset your password to access your new account here.

Print this item

  adding second IP with a domain, run domain on different IP
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos - Replies (1)

just a note:
1. editing apachehcp.conf manually is not good, it is overwritten by ehcp each time a domain action is done.
if you need some custom editing, such as ssl etc, do this way: choose that domain in ehcp, click "edit custom apache template"


2.
to add a second IP, do this way:
ehcp->options->list/add server IPs (below)->add IP to this server.
ehcp home->add domain-> below links, add domain to different IP-> select IP and enter domain info.
this way, your domain should be adjusted to work on that IP.



Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.

Print this item

  ehcp ssl small info, number of domains for ips
Posted by: ehcpdeveloper - 04-14-2023, 10:13 PM - Forum: Ehcp HowTos - Replies (3)

an answer to a question:

transfering should not be difficult,
install new ehcp to your new server
first, upgrade, then, take backup, then, move your backup or files to new server..
before backup, I will send you latest ehcp files which contains some fixes about backup. that may help.

about ssl: I am now in the process of preparing an easy way for doing ssl in ehcp. I am not sure when it will be ready...

your ips: if you have other ssl domains for your other ip, then, you need another ıp. but, if you have no ssl domains for your other ip's, then, those ips are enaugh for your ssl domain.
an IP can be used for both ssl and non ssl domains. however, single ip cannot be used for two different ssl domains..

so, if you have for ex, single ip: you can have many non ssl domains, and one ssl domain,
if you have 2 ip's: you can have many non ssl domains + 2 ssl domain.
and so on....


Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.

Print this item

  How to change default chmod
Posted by: Muszti - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos - Replies (2)

Hi All!

I'm using joomla for my ehcp installed webhost.
Each time when I install a new domain with joomla I have to manually chmod 775 for thousands of files and folders.

How can I set ehcp to chmod all sites automatically 775?

Restored from old drupal forum, for user uid:4451 username:Muszti
You may reset your password to access your new account here.

Print this item

  ehcp backup, copying/moving servers
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos - Replies (4)

This is a small howto on ehcp backup and moving over servers.

Let me summarize:

normally; ehcp has built-in "server backup" feature. You can - most of the time - backup your whole server (including your site files, emails, db, ehcp) to a file.

The backup files are placed at /var/backup dir. You need to move these files to your new server, or make its backup to make sure you have "all data" in case you loose all server connection.

However, keep in mind that, sometime we may have bugs/unpredictable errors in this backup procedure. So, do Not lie on this backup feature. Check backukp file in /var/backup.

You may even do manual backup yourself. for manual backup, you need to backup /var/www/vhosts folder, /var/www/new/ehcp folder, mysql db's,

the ehcp backup feature may simplify, when it works as expected in your system.


For restore,
(transfer backup file to new server using scp or similar)
install ehcp on your new server, then,
click restore, enter backup filename.

the restore may last a while.

you may track all backup/restore process in command line by:
tail -f /var/log/ehcp.log
both in old & new server...


Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.

Print this item

  Bandwidth Throtteling
Posted by: beenfishing - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos - Replies (3)

Does anybody have step by step instructions for implementing mod_cband

I would really like to try and get this working on my ehcp server to throttle website bandwidth and I'm not that clued up on linux and how to go about doing this.

Any advise would be appreciated.

Restored from old drupal forum, for user uid:3328 username:beenfishing
You may reset your password to access your new account here.

Print this item

  How to see website if there is no domain name yet set
Posted by: janispeksa - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos - Replies (3)

Good day, how can I see website on my server if the domain in not yet bought and set my dns on it.
Can I use somehow my IP to see the domain ?
It's not a main domain but a client domain.
I just copy files to ftp and don't know how to see if the website is okey or not.

Best regards,
Janis Peksa.

Restored from old drupal forum, for user uid:4462 username:janispeksa
You may reset your password to access your new account here.

Print this item


Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping