Navigation

    • Register
    • Login
    • Search
    • Recent
    • Users
    • Groups

    subdomain redirect to main domain

    CWP - Panel
    2
    3
    45
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      choqo last edited by

      hello,
      I use "nginx proxy + varnish + apache + php-fpm".
      I am also using cloudflare...
      I want the subdomains I set with cloudflare to be directed to the home page.

      example: CNAME: 1.mydomain.com 2.mydomain.com 3.mydomain.com .. I want them all to be directed to the home page. Can you tell me what I should do on the Centos panel, please.

      I remember, there was something like alias * in cyberpanel .. is there in centos panel?

      Thank you..

      sandeep 1 Reply Last reply Reply Quote 0
      • sandeep
        sandeep @choqo last edited by

        @choqo did you tried it?
        https://www.mysterydata.com/how-to-enable-wildcard-domainvhost-in-nginx-and-apache-cwp-centos/

        C 1 Reply Last reply Reply Quote 0
        • C
          choqo @sandeep last edited by

          @sandeep
          Thank you, it happened;)

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Recent Topics

          • nginx/1.20.0 ngx_pagespeed module

          • Almalinux support

          • Error Dovecot IMAP/POP3 Server

          • Problem with How to Enable TLS 1.3 in Apache on CWP

          • Successful delivery message

          • Install latest version of Sqlite3 from source Ubuntu/Debian

          • Install latest version of Sqlite3 from source centos/rhel/el7/el8

          • C

            Mysql load error

          1
          Online

          86
          Users

          117
          Topics

          768
          Posts

          URLs HOME | Blog | Support Portal