GET A DOMAIN & WEB HOSTING

Register a domain name

  1. Namesilo Create New Account  csyezheng csye3631
  2. SEARCH Domain and REGISTER
  • NameServers:域名解析服务器设置,未确定的可以等稍后在后台设置也一样;
  • Auto-Renew:自动续费,如果决定长期使用,可以选择 Yes;
  • Privacy Setting:隐私保护,选择 “WHOIS Privacy”;
  • Set all years to:注册时长,如果是活动价格,则只能选择一年。
  1. promotion code okoff 或者 go2think ,点击 “Submit”

Getting Hosting for your Domain

  • Blogger, Wix, Weebly, etc.

  • Amazon Web Service EC2 try free

  • HostGator

Connect domain name and web hosting

  • Blogger

    1. Login to the blogger.com, and select your Blogspot blog from there. Go to Settings->Basic screen. Under the Publishing section clicks on the + Add a custom domain link.
    2. When you press the Save button, you will see an error page. So you got the CNAME records, go to your domain control panel and make the changes.
    3. Login to namesilo account and click Manage My Domains , and then click manage the dns for the domain under the option section. Apply Blogger template, select specify record type and modify existing resource records.
    4. Switch back to blogger domain setup page again.
  • Git Pages

    A comment system based on GitHub Issues. https://github.com/imsun/gitment

  • Amazon Web Service EC2 try free

    NETWORKING & SECURITY (网络与安全)

    Elastic IPs (弹性IP)

    Allocatie New Address (分配新地址)

    Associate (关联地址) Select an instance

    1
    2
    
    $ chmod 400 csyezheng.pem
    $ ssh -i "csyezheng.pem" ec2-user@ec2-18-218-193-148.us-east-2.compute.amazonaws.com
    
    1
    2
    3
    4
    
    $ sudo yum update -y  
    $ sudo yum install make automake gcc gcc-c++ kernel-devel -y 
    $ sudo yum install nginx
    sudo /etc/init.d/nginx start
    
    1
    
    http://18.218.193.148/
    

    Login to namesilo account and click Manage My Domains , and then click manage the dns for the domain under the option section. Apply WWW Redirect template and modify the ADDRESS / VALUE to the host address of VPS.

    Verification is effective after 10 minutes in https://www.ipip.net/ip.html. input domain name and check the result.

    1
    
    http://www.zhengye.me/
    

SET UP & CUSTOMIZE YOUR SITE

  • Amazon Web Service EC2 (Amazon Linux AMI)

    1
    
    sudo yum install python36 python36-virtualenv python36-pip
    
    1
    
    sudo yum install mysql mysql-server
    
    1
    
    $ sudo yum install git -y
    

    Shadowsocks