-1

I have setup my Drupal using the Docker and accessing my sites through ip . But now i want to map docker IP address to some domain name in my local machine . can anyone please help me. something like this: Ex : http://192.160.168.3 to http://mysites

shrikant
  • 441
  • 5
  • 11

1 Answers1

0

Create the local host name as

sudo echo "127.0.0.1 mysite.local" >> /etc/hosts

Now you can redirect to your application with mysite.local

Jinna Balu
  • 6,747
  • 38
  • 47