@
@
@ubuntes2016-08-17 11:30:33
ubuntu
@ubuntes, 2016-08-17 11:30:33

How to give access to the site by domain name from outside?

Greetings.
Please tell me in which direction to move and what to do.
I would be very grateful for any help.
Ubuntu I see the second day in my eyes, and during this time what I could do ...
I set up the network on the ubuntu server, installed lamp. Everything works well, the computer is visible in the local network.

eth0      Link encap:Ethernet  HWaddr 00:0c:29:7f:9a:c8
          inet addr:192.168.1.254  Bcast:192.168.0.255  Mask:255.255.0.0
          inet6 addr: fe80::20c:29ff:fe7f:9ac8/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:44291 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2087 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3646122 (3.6 MB)  TX bytes:2715132 (2.7 MB)

eth1      Link encap:Ethernet  HWaddr 00:0c:29:7f:9a:d2
          inet addr:91.194.190.245  Bcast:91.194.190.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe7f:9ad2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47837 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31878 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37344708 (37.3 MB)  TX bytes:2991836 (2.9 MB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:172 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:17248 (17.2 KB)  TX bytes:17248 (17.2 KB)

Put ssh-server in order to throw files into the necessary directories with Putty or FileZilla.
We have a network with an external (white) ip, a purchased domain (*****.ru), how to make sure that users from outside the address can access the site.
Please help point me in the right direction.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-08-17
@NeiroNx

We set up the purchased domain on the DNS server - by IP (if you have bind on ubuntu server) or domain names (if on hosting). In the domain setting, make an A record on *****.ru specifying the IP of the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question