Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet458/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   454   455   456   457   458   459   460   461   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 356 
]
If you're using domain names with virtual hosts, then this will only work if you set 
up networking such that the domain name referenced in the file resolves to the IP 
address of your server. Depending on your configuration, there are multiple ways to 
do this. If you're using a VPS provider, such as DigitalOcean or Linode, your server 
will have an IP address already and you only need to edit the 
A Record
 on your DNS 
server to point to that IP. (The various types of DNS entries, such as an A Record, 
were covered in 
Chapter 11

Setting Up Network Services
.) If you're running your own 
DNS server, you would add the A Record there. If you're using an external DNS 
provider, you would log in to the dashboard for your account and add the A Record 
there. For testing purposes, you can edit your 
/etc/hosts
 file to point to your new 
web server. If you're not using a VPS provider, you would need to forward port 
80
 
in your firewall to point to your internal 
web server. This is beyond the scope of this 
book, as there are many different models of firewalls available and it's impossible to 
cover them all.
As we continue through this chapter, we'll perform some additional configuration 
for Apache. At this point though, you should have an understanding of the basics 
of how Apache is configured in Ubuntu Server. For extra practice, feel free to create 
additional virtual hosts and serve different pages for them.

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   454   455   456   457   458   459   460   461   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish