问答 2024-12-09 来自:开发者社区

如何域名访问不加端口号

我现在有一个域名xxxxxx.cn,解析到服务器的外网ip地址xxxx.xxxx.xxxx.xxxx,但是目前有很多服务都部署在这个服务器上,所以域名访问时要加上端口号进行区分,有什么办法可以依然通过xxxxxx.cn这个域名访问不加端口号的吗?

文章 2023-02-27 来自:开发者社区

【宝塔部署PHP项目】含域名访问部署、IP访问部署、数据库、端口号、Nginx等知识

一定要弄懂项目部署的方方面面。当服务器上部署的项目过多时,端口号什么时候该放行、什么时候才会发生冲突?多个项目使用redis怎么防止覆盖?Nginx的配置会不会产生站点冲突?二级域名如何合理配置?空闲的时候要自己用服务器试试,不然书到用时方恨少,项目紧急时赶不出来……[0] 部署域名访问PHP项目步骤  1. 阿里云控制台“云解析DNS”添加二级域名站点 (可选)  2. 阿里云控制台添加防火墙....

【宝塔部署PHP项目】含域名访问部署、IP访问部署、数据库、端口号、Nginx等知识
文章 2022-09-15 来自:开发者社区

通过备案的域名访问,不需要添加端口号(nginx反向代理,直接域名访问)

注意:前提是公网域名通过备案和域名解析1.安装nginxyum install -y nginx2.找到安装nginx.conf文件 server { listen 80; listen [::]:80; server_name xxx.com.cn; root /usr/share/...

通过备案的域名访问,不需要添加端口号(nginx反向代理,直接域名访问)
问答 2019-03-25 来自:开发者社区

改了端口号后需要域名加端口号才可以访问网站 安全策略入站和出站加了相关端口号也不行 访问必须要端口号

改了端口号后需要域名加端口号才可以访问网站 安全策略入站和出站加了相关端口号也不行 访问必须要端口号

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"domain","productCardInfo":{"productTitle":"域名与网站","productDescription":"提供安全易用的域名查询,注册,管理,交易等服务。提供超过100+后缀域名服务;免费云解析,极速实时生效!超过25年域名服务经验,累计超过4000万个域名在阿里云注册,连续多年市场NO.1","productContentLink":"https://wanwang.aliyun.com/domain/","isDisplayProductIcon":true,"productButton1":{"productButtonText":"域名注册","productButtonLink":"https://wanwang.aliyun.com/domain"},"productButton2":{"productButtonText":"域名交易","productButtonLink":"https://wanwang.aliyun.com/mi"},"productButton3":{"productButtonText":"域名管理","productButtonLink":"https://dc.console.aliyun.com/next/index#/overview"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"最新活动","productPromotionInfoFirstText":"域名新客首年低至1元","productPromotionInfoFirstLink":"https://wanwang.aliyun.com/newactivity/start#J_2","productPromotionInfoSecondText":"cn批量注册低至19元/个","productPromotionInfoSecondLink":"https://wanwang.aliyun.com/salespromotion/s11hdyr"},{"$id":"1","productPromotionGroupingTitle":"产品入门","productPromotionInfoFirstText":"域名帮助文档","productPromotionInfoFirstLink":"https://help.aliyun.com/zh/dws/","productPromotionInfoSecondText":"域名交易帮助文档","productPromotionInfoSecondLink":"https://help.aliyun.com/zh/dws/user-guide/what-is-domain-name-transaction"},{"$id":"2","productPromotionGroupingTitle":"域名工具","productPromotionInfoFirstText":"域名查询","productPromotionInfoFirstLink":"https://wanwang.aliyun.com/domain/searchresult/","productPromotionInfoSecondText":"智能起名","productPromotionInfoSecondLink":"https://wanwang.aliyun.com/newdomain/check-gpt"},{"$id":"3","productPromotionGroupingTitle":"相关推荐","productPromotionInfoFirstText":"网站搭建首年直降36%","productPromotionInfoFirstLink":"https://wanwang.aliyun.com/webdesign/index","productPromotionInfoSecondText":"百元建站套餐","productPromotionInfoSecondLink":"https://wanwang.aliyun.com/newactivity/qh#J_one"}],"isOfficialLogo":true},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}