[GH-ISSUE #5280] [Feature]: Transferring the project to cPanel hosting #3696

Closed
opened 2026-10-31 20:34:18 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @YoshikVPS on GitHub (Jun 13, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5280

Hello and good time, Mr. Sanaei, I would like to thank you for being behind the people of Iran these days and updating your project on the Internet. I have a very interesting idea that if you can use this idea, if you act, it would be very good and ideal. Can I request that you port a panel or the x-ui panel?

The first important reason
The low price of the hosting is because the hosting is shared. The price is very low and the speed of performance is good, again for the price it has

The next reason is that the fixed and shared IP of this IP is registered in the filtering system and this is because they are shared. The filtering system from the institution of this IP must always be available and if you want to have your own panel on this and the user can create a subdomain address using Cloudflare or CD and bring the subdomain address to the French panel. It goes and it is because the IP host and because it takes a long time for the IP to be filtered or they do not know the permission to filter this IP at all and whenever the user wants, he can make a proxy CD so that the IP host is hidden behind its CD.

Another good thing about these hosts is unlimited traffic and bandwidth, which can be used for personal use and even for sale, which is a very interesting idea and another thing that I should even mention is if Protel RVLESS is to be combined with the WS protocol. It will be combined with the full web algorithm with port 443 or port 80 and during the time of the National Internet, I witnessed this. Most of the websites behind the CD were supercomputers, but their hosts, I mean servers, their hosts were outside of Iran. It could be opened easily and the user could enter this website.

My request is that please consider this idea, which is really the best idea in my opinion.

Thank you again for reading my opinion and my idea and thank you and do not get tired of being with the people of Iran

Describe the solution you'd like

It was said.

Alternatives you've considered

No response

Concrete use case

No response

Mockups, screenshots, or examples

No response

Which parts of the panel would this affect?

No response

Are you willing to help?

  • I'd like to implement this feature myself and open a PR.
  • I can help test once a PR is open.

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.
Originally created by @YoshikVPS on GitHub (Jun 13, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5280 ### Is your feature request related to a problem? Hello and good time, Mr. Sanaei, I would like to thank you for being behind the people of Iran these days and updating your project on the Internet. I have a very interesting idea that if you can use this idea, if you act, it would be very good and ideal. Can I request that you port a panel or the x-ui panel? The first important reason The low price of the hosting is because the hosting is shared. The price is very low and the speed of performance is good, again for the price it has The next reason is that the fixed and shared IP of this IP is registered in the filtering system and this is because they are shared. The filtering system from the institution of this IP must always be available and if you want to have your own panel on this and the user can create a subdomain address using Cloudflare or CD and bring the subdomain address to the French panel. It goes and it is because the IP host and because it takes a long time for the IP to be filtered or they do not know the permission to filter this IP at all and whenever the user wants, he can make a proxy CD so that the IP host is hidden behind its CD. Another good thing about these hosts is unlimited traffic and bandwidth, which can be used for personal use and even for sale, which is a very interesting idea and another thing that I should even mention is if Protel RVLESS is to be combined with the WS protocol. It will be combined with the full web algorithm with port 443 or port 80 and during the time of the National Internet, I witnessed this. Most of the websites behind the CD were supercomputers, but their hosts, I mean servers, their hosts were outside of Iran. It could be opened easily and the user could enter this website. My request is that please consider this idea, which is really the best idea in my opinion. Thank you again for reading my opinion and my idea and thank you and do not get tired of being with the people of Iran ### Describe the solution you'd like It was said. ### Alternatives you've considered _No response_ ### Concrete use case _No response_ ### Mockups, screenshots, or examples _No response_ ### Which parts of the panel would this affect? _No response_ ### Are you willing to help? - [ ] I'd like to implement this feature myself and open a PR. - [ ] I can help test once a PR is open. ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this feature has not been requested. - [x] This feature request is written in English.
bsakaguchi 2026-10-31 20:34:18 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 13, 2026):

Running 3x-ui on cPanel shared hosting is not feasible with the current architecture, and a port to that environment is outside the scope of this project.

The reasons are structural, not incidental:

  • Persistent system service required. 3x-ui runs as a compiled Go binary managed by systemd (see x-ui.service.*). Shared hosting does not allow persistent background processes of this kind.
  • Child-process execution. The panel starts and supervises the Xray-core binary via os/exec (confirmed in internal/xray/process.go). Shared hosting environments do not allow users to execute arbitrary native binaries.
  • Arbitrary port binding. Xray inbounds bind directly to TCP/UDP ports (e.g. 443, 80, or custom ports). Shared hosting does not expose raw port access to tenants.
  • Elevated OS privileges. IP-limiting and fail2ban enforcement use iptables and require NET_ADMIN/NET_RAW capabilities (see internal/web/job/ and the Docker Compose cap_add entries). These are not available on shared hosting.
  • Filesystem access. The panel writes configuration and runtime data to system paths such as /etc/x-ui/, which are inaccessible on shared hosting.

The use case you describe—VLESS+WebSocket on port 443 behind a CDN/Cloudflare proxy to reduce filtering exposure—is fully supported today on any standard VPS or dedicated server running Linux. A VPS with a single shared IP and a WebSocket+TLS inbound proxied through Cloudflare achieves everything you described, and the cost of entry-level VPS instances in most providers is comparable to shared hosting tiers.

Porting 3x-ui to shared hosting would require replacing the entire runtime model (service management, child-process execution, port binding, privilege model) with one compatible with what cPanel exposes to tenants, which is effectively a different application.

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:4698645007 --> @github-actions[bot] commented on GitHub (Jun 13, 2026): Running 3x-ui on cPanel shared hosting is not feasible with the current architecture, and a port to that environment is outside the scope of this project. The reasons are structural, not incidental: - **Persistent system service required.** 3x-ui runs as a compiled Go binary managed by systemd (see `x-ui.service.*`). Shared hosting does not allow persistent background processes of this kind. - **Child-process execution.** The panel starts and supervises the Xray-core binary via `os/exec` (confirmed in `internal/xray/process.go`). Shared hosting environments do not allow users to execute arbitrary native binaries. - **Arbitrary port binding.** Xray inbounds bind directly to TCP/UDP ports (e.g. 443, 80, or custom ports). Shared hosting does not expose raw port access to tenants. - **Elevated OS privileges.** IP-limiting and fail2ban enforcement use `iptables` and require `NET_ADMIN`/`NET_RAW` capabilities (see `internal/web/job/` and the Docker Compose `cap_add` entries). These are not available on shared hosting. - **Filesystem access.** The panel writes configuration and runtime data to system paths such as `/etc/x-ui/`, which are inaccessible on shared hosting. The use case you describe—VLESS+WebSocket on port 443 behind a CDN/Cloudflare proxy to reduce filtering exposure—is fully supported today on any standard VPS or dedicated server running Linux. A VPS with a single shared IP and a WebSocket+TLS inbound proxied through Cloudflare achieves everything you described, and the cost of entry-level VPS instances in most providers is comparable to shared hosting tiers. Porting 3x-ui to shared hosting would require replacing the entire runtime model (service management, child-process execution, port binding, privilege model) with one compatible with what cPanel exposes to tenants, which is effectively a different application. *This reply was generated automatically; a maintainer may follow up.*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3696
No description provided.