Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Centos Web Panel




https://cloud.digitalocean.com/settings/billing
create droplet 512mb
hostname=hp01


make swap
dd if=/dev/zero of=/newswap bs=1024 count=1024000

mkswap /newswap
swapon /newswap
swapon -s   //see summry
vi /etc/fstab //permanently add
           /newswap swap swap defaults 0 0   //add this line
chown root:root /newswap
 chmod 0600 /newswap

create tk domain with sign in facebook,

go your domain provider (mine is .tk) change name servers as digital ocn (host provider)s.
(we are give responsibilit to digital ocean when change name servers as,

NS1.DIGITALOCEAN.COM
NS2.DIGITALOCEAN.COM





after that nothing works with domain provider, all handle by digital ocn domain services(see last images on this page)



http://www.unixmen.com/how-to-install-centos-web-panel-in-centos/
yum install wget -y
yum update -y
cd /usr/local/src
wget http://centos-webpanel.com/cwp-latest
or wget http://dl1.centos-webpanel.com/files/cwp-latest
sh cwp-latest
go http://hasaranga2016.tk:2030/


Note : If AWS, you have to enable NAT (cwp settings->edit settings --> enter internal ip and tick ) with ur internal ip, unless all users will display default index.html.
root & root pw
DNS Functions -> Edit nameserver IP's
NS1.DIGITALOCEAN.COM  173.245.58.51
NS1.DIGITALOCEAN.COM 173.245.59.41
then,

then go and create user account with hasaranga2016.tk domain name.
login to that accnt and create email accnt.
hasaranga2016.tk /webmail

//////////////////////spf http://www.spfwizard.net/

/////////////////////////http://www.mail-tester.com/web-anxT4G






--------------Start correct one -------------------------

sucess 8

A @ 104.131.70.23
A mail 104.131.70.23
CNAME www hasaranga2016.tk.
CNAME hasaranga2016.tk mail.hasaranga2016.tk.
MX  0 mail.hasaranga2016.tk.
TXT @ v=spf1 a mx ptr a:hasaranga2016.tk ip4:104.131.70.23 -all


vi /etc/postfix/main.cf
myhostname = mail.hasaranga2016.tkservice postfix restart
change droplet name also mail.hasaranga2016.tk in digital ocn (fully qulified domain resolve rdns issue)

you can create another user for different domain (same server) without any issue, ex: hasara.tk
create user for hasara.tk, login, create email accnt using hasara.tk add following dns records in digital ocean (create a new domain record for hasara.tk)
A @ 104.131.70.23
A mail 104.131.70.23
CNAME www hasara.tk.
CNAME hasara.tk mail.hasara.tk.
MX  0 mail.hasara.tk.
TXT @ v=spf1 a mx ptr a:hasara.tk ip4:104.131.70.23 -all

-------------------end correct one ---------------------------






A @ 104.131.70.23
A hp01 104.131.70.23
CNAME www hasaranga2016.tk.
CNAME hasaranga2016.tk hp01.hasaranga2016.tk.
MX 0 hasaranga2016.tk.
Google /////
TXT @ v=spf1 a mx ptr a:hasaranga2016.tk ip4:104.131.70.23 -all
NS ns1.digitalocean.com.
NS ns2.digitalocean.com.
NS ns3.digitalocean.com.

vi /etc/hosts
104.131.70.23 hp01




v=spf1 a mx ptr a:hasaranga2016.tk ip4:104.131.70.23 -all

login to user account created from root, enter domain if not there (can check if dont load domain/2030)
add cname in dns records(here in digital ocn) entr for www (www. point to @ )





test


$ORIGIN hasaranga2016.tk.
$TTL 1800
hasaranga2016.tk. IN SOA ns1.digitalocean.com. hostmaster.hasaranga2016.tk. 1462635535 10800 3600 604800 1800
hasaranga2016.tk. 1800 IN NS ns1.digitalocean.com.
hasaranga2016.tk. 1800 IN NS ns2.digitalocean.com.
hasaranga2016.tk. 1800 IN NS ns3.digitalocean.com.
hasaranga2016.tk. 1800 IN A 104.131.70.23
www.hasaranga2016.tk. 1800 IN CNAME hasaranga2016.tk.
hasaranga2016.tk. 1800 IN TXT v=spf1 a mx ptr a:hasaranga2016.tk ip4:104.131.70.23 -all
hp01.hasaranga2016.tk. 1800 IN A 104.131.70.23
hasaranga2016.tk. 1800 IN MX 1 aspmx.l.google.com.
hasaranga2016.tk. 1800 IN MX 5 alt1.aspmx.l.google.com.
hasaranga2016.tk. 1800 IN MX 5 alt2.aspmx.l.google.com.
hasaranga2016.tk. 1800 IN MX 10 alt3.aspmx.l.google.com.
hasaranga2016.tk. 1800 IN MX 10 alt4.aspmx.l.google.com.
hasaranga2016.tk. 1800 IN MX 0 hasaranga2016.tk.
hasaranga2016.tk.hasaranga2016.tk. 1800 IN CNAME hp01.hasaranga2016.tk.

No comments:

Post a Comment