우분투 웹 포트번호 바꾸기

2023. 11. 8. 23:30·Linux/ubuntu

이건 그냥 나중에 혹시 내가 까먹을까봐 적어놓는 글이다.

 

포트포워딩을 설정을 바꾸면서 서버 포트도 바꿔주는 상황이 생겼는데

 

 /etc/apache2/sites-available/.conf 파일에서 

VirtualHost 부분도 바꿔줘야하지만

 

/etc/apache2/port.conf 파일에서도 포트번호를 바꿔줘야한다. 

이건 /etc/apache2/sites-available/.conf 파일이고

 

이건 /etc/apache2/port.conf 파일이다.

 

참고하시도록

저작자표시 비영리

'Linux > ubuntu' 카테고리의 다른 글

우분투 SSL 적용 - Certbot  (0) 2023.11.08
git 설치부터 깃허브 연동까지 (소스트리)  (1) 2023.10.30
ubuntu - Apache, MySQL, PHP 설치  (0) 2023.10.09
'Linux/ubuntu' 카테고리의 다른 글
  • 우분투 SSL 적용 - Certbot
  • git 설치부터 깃허브 연동까지 (소스트리)
  • ubuntu - Apache, MySQL, PHP 설치
ssnong
ssnong
캠핑 맛집 여행 윈도우 리눅스 PHP DB 등 기록 공간입니다
  • ssnong
    호슐랭
    ssnong
  • 전체
    오늘
    어제
    • 분류 전체보기 (42)
      • Linux (21)
        • ubuntu (4)
        • Rocky 8.10 (16)
      • Windows (5)
      • git (3)
      • Lang (3)
        • javascript (3)
        • PHP (0)
      • Database (3)
        • MySQL8.0 (2)
        • MariaDB (1)
        • PostgreSQL(17.2) (0)
      • AWS (1)
      • ERROR! (4)
  • 링크

    • 일상은 여기서!
  • 공지사항

  • 인기 글

  • 태그

    linux postgresql설치
    postgresql.conf 설정
    rocky nftables
    Linux
    ssh 접속
    pg_hba.conf 설정
    linux nftables
    rocky postgresql설치
    git pull
    git push
    rocky
    nftables
    hyper-v vm 생성
    rocky 8 postgresql 설치
    linux nft
    리눅스
    centos nftables
    리눅스 nft
    nginx php 소켓통신
    리눅스 nftables
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.0
ssnong
우분투 웹 포트번호 바꾸기
상단으로

티스토리툴바