Help with setting up multichain-web-demo on AWS

+2 votes

Hi,

I am trying to setup multichain-web-demo on AWS but running into issues with configuration and not able to launch the app.

My web server is  tomcat2 on Ubuntu 16 which is on AWS- http://18.221.181.216:80

IPv4 Public IP:18.221.181.216

Private IPs :172.31.13.74

Below is my Multichain node config details -

Other nodes can connect to this node using:
multichaind chain1@172.31.13.74:6723

Listening for API requests on port 6722 (local only - see rpcallowip setting)

Node ready.

Config Details

ubuntu@ip-172-31-13-74:~/multichain-web-demo$ cat config.txt
# Define your MultiChain node credentials below.

default.name=Default                   # name to display in the web interface
default.rpchost=172.31.13.74              # IP address of MultiChain node
default.rpcport=6722                  # usually default-rpc-port from params.dat
default.rpcuser=multichainrpc          # username for RPC from multichain.conf
default.rpcpassword=J*************************

Now,when i try to access it using url "http://18.221.181.216/multichain-web-demo/index.php" it gives php code rather than web page.

Any help on whats needs to be changed to make this working would help.

asked Mar 28, 2018 by sharedmocha
edited Mar 28, 2018 by sharedmocha

1 Answer

+1 vote
You need to configure your web server to interpret PHP files. Google 'Ubuntu PHP' to find some documentation.
answered Mar 28, 2018 by MultiChain
...