Sida loo beddelo Dekadda Dhegeysiga ee Server-ka Apache
Toddobaadkii hore, waxaan la kulmay server leh HTTPS dekedeeda 80 oo uu horey u qaatay software kale. "Dambiilaha" wuxuu ahaa wax lala yaabo ah software kale oo server-ka ah, kaas oo ah IIS . Sababtoo ah isticmaalayaasha IIS waxay horeyba ula qabsadeen dekedda caadiga ah, rakibaadda Apache ma lahayn wax doorasho ah oo aan ahayn inay isticmaalaan deked yar oo caan ah HTTP , kiiskan dekedda 81.
Waxaa laga yaabaa inaad weydiiso sababta ay dekedda 80 muhiim ugu tahay http? Hagaag, mid ahaan, waa u fududahay isticmaalka isticmaalayaasha. Haddii aad daalacanayso server-ka shabakadda oo aad ku dhegaysanayso deked aan ahayn dekedda 80, waxaad u baahan doontaa inaad ku darto lambarka dekedda iyo ciwaanka.
Wax sidan oo kale ah: http://yourdomain.com:81/ haddii dekedda 81 ay tahay seerfarka mareegtaada. Haddii aad isticmaasho dekedda 80 markaas uma baahnid inaad ku qorto dekedda 80 cinwaanka maadaama ay tahay dekedda caadiga ah ee HTTP . Sida laga soo xigtay http://www.tcpipguide.com
"Si looga fogaado fowdo, software-ka fuliya habka server-ka gaarka ah wuxuu si caadi ah u isticmaalaa lambarka dekedda ee loo qoondeeyey qalab kasta oo IP ah, si macaamiishu si fudud u heli karaan… browser kasta oo internetka ah "wuxuu og yahay" in shabakadaha loogu talagalay inay dhagaystaan codsiyada loo soo diro dekedda. 80(“To avoid chaos, the software that implements a particular server process normally uses the same reserved port number on every IP device, so clients can find it easily… Every Web browser just “knows” that websites are designed to listen for requests sent to port 80”) ”
Marka xaqiiqdaas la dejiyo, aan aragno sida aan u bedeli karno dekedda Apache . Marka hore ka raadi faylka httpd.conf gudaha Apache > conf folder.
httpd.conf waa fayl qoraal ah oo ay adeegsadaan dhammaan fulinta Apache , marka beddelka Unix Apache ama rakibaadda Windows Apache waxaa loo sameeyaa si la mid ah - iyada oo loo marayo faylka qaabeynta. (Windows Apache)Fur faylka adoo isticmaalaya tifaftiraha qoraalka aad jeceshahay oo raadi laynka leh "Dhagayso 80":
Xariiqdani waxay qeexaysaa Apache si aad u dhageysato dekedda 80. Waxa kaliya ee ay tahay inaad sameyso waa u beddelka dekedda 80 deked kasta oo aad rabto inaad isticmaasho. Hubi in dekedda aad isticmaali doonto ay tahay deked bilaash ah oo aanay horay u qaadan adeegyo kale. Akhri hagahayaga wax ku saabsan iskaanka dekedda bilaashka ah(free port scanner) haddii aadan hubin.
Markaad tafatirto faylka, kaydi oo dib u bilow Apache(Apache) . Si aad u tijaabiso haddii aad hore u isticmaalaysay dekedda cusub ka baadh URL dekeddii aad isticmaashay. Tusaale ahaan, haddii aad u soo gashay dekedda 81 sida dekedda cusub, URL cusub waa inuu noqdaa http://yourdomain:81 .
Habka kale ee aan ka akhriyay internetka ayaa wax yar ka duwan. Haddii tan kore ay ku shaqeyn waayaan, isku day inaad /etc/apache2/ports.confDhegeysiga(Listen) halkaas oo aad u beddesho wax sida Dhageyso 81(Listen 81) .
Marka xigta, aad /etc/apache2/sites-enabled/000-default.conf oo u beddel khadka kowaad VirtualHost *: 81 . Dib u bilaw Apache(Restart Apache) oo waa inaad awood u leedahay inaad booqato domainka adigoon ku qorin lambarka dekedda. Apache waa inuu si toos ah ugu jiheeyaa /var/www/html. Ku raaxayso!
Related posts
HDG wuxuu sharxayaa: Waa maxay Deked Kumbuyuutar ah & Maxaa Loo Isticmaalaa?
Sida loo abuuro server-ka FTP adoo isticmaalaya FileZilla
Meel fog laga galo Windows XP ama Windows Server 2003 Computer
Sida Loo Hubiyo Dejinta Adeegga Proxy-ka ee Kumbuyuutarkaaga
Laqabsiga Internetka iyo Baraha Bulshada
Sida looga fogaado oo loo xaliyo DNS go'annada
Isku-xidhka Peer to Peer (P2P) iyo Wadaagista Faylka ayaa la sharaxay
Waa maxay Localhost iyo sidee ayaad u isticmaali kartaa?
Sida Looga ekaysiiyo Xidhiidhka Internetka ee Gaabis ah ee Imtixaanka
Dib-u-eegis buug - Isku-xidhka Koowaad ee Madaxa
Laguma xidhi karo Xbox Live; Hagaaji arrinta isku xirka Xbox Live gudaha Windows 10
Waa maxay Firewall iyo maxay tahay ujeeddadiisu?
Sida loogu daro Raadinta DNS Maxalliga ah ee Faylka Martigelinaya
8 Mashruuc Raspberry Pi fudud ee Bilawga
Aaladda Jilitaanka Isku-xidhka Xirmooyinka Baakidhka ee Cisco Packet iyo beddelaadkeeda bilaashka ah
HDG wuxuu sharxayaa: Waa maxay RFID & maxaa loo isticmaali karaa?
Hagaaji "Daaqadaha Iskuma Xidhi Karaan Shabakaddan" Khaladka
Sida loogu xidho diiwaanka fog ee Windows 7 iyo 10
Sida loogu isticmaalo Xbox Networking gudaha Windows 10, si loo hubiyo xidhiidhka aad la leedahay Xbox Live
Ku qas Windows 7 inuu isticmaalo Xidhiidhka Fiilada ee Wireless-ka