mysite-day01

This is the starting point for building up mysite - Enterprise Architecture Center, following steps have been done.

Get one Domain

Try godaddy.com and request one domain there, mine is enterprise-architecture.site.

Using the A-record, you can configure the DNS to link domain to your backend web server

Get one Server for Website

Using Azure subscription, request one Ubuntu virtual server, get the basic configuration, with following two basic points –

  • Before having https, open SSH (TCP/22) allowing ANY inbound access
  • Get one public IP address

Connect via SSH with Client

  1. Open the client of y our choice: WSL on Windows, Terminal on Mac or Shell on Linux

  2. Ensure you have read-only access to the private key. Chmod is only supported on Linux subsystems (e.g. WSL on Windows or Terminal on Mac).

    1
    chmod 400 <keyname>.pem
  3. Provide a path to your SSH private key file, normally ~/.ssh/yasenster

  4. Run the command below to connect your VM:
    ssh -i <private key path> yasenstar@<VM_IP>

Setup Apache Web Server

SSH to your new Ubuntu server, using following commands to install web server

1
sudo apt install apache2