CyberHosting

create wildcard subdomain

i have a lot of subdomains, so i need create wildcard to make redirect from all subdomain to main Domain.
Tagged:
Tagged:

Comments

  • you can manually change it to * in listner or apache conf
  • Type your comment> @qtwrk said:
    > you can manually change it to * in listner or apache conf

    Can you explain how? Thank you
  • https://forums.cyberpanel.net/discussion/3555/tutorial-how-to-access-my-site-with-ip-address#latest

    in step 2 , you can use * for that vhost to match wildcard domain
  • Type your comment> @qtwrk said:
    > https://forums.cyberpanel.net/discussion/3555/tutorial-how-to-access-my-site-with-ip-address#latest
    >
    > in step 2 , you can use * for that vhost to match wildcard domain

    Not working :(
    still not redirect any subdomain to main domain..
    https://ibb.co/xJdNJtp
  • you need a rewrite rule to redirect it

    https://stackoverflow.com/questions/5651205/htaccess-exluce-some-domain-in-rewritecond
  • Type your comment> @qtwrk said:
    > you need a rewrite rule to redirect it
    >
    > https://stackoverflow.com/questions/5651205/htaccess-exluce-some-domain-in-rewritecond

    sorry, Not working.
    with CPanel i can create wildcard and make redirection, with cyberpanel i can create wildcare
  • what not working ? what was your setting?
  • Thank you for replay.
    in CPanel i can create wildcard as subdomain and create htaccess in it with redirect. and it working
    in cyberpanel, i can't create wildcard as subdomain.
  • > @MahmoudNassar said:
    > Thank you for replay.
    > in CPanel i can create wildcard as subdomain and create htaccess in it with redirect. and it working
    > in cyberpanel, i can't create wildcard as subdomain.

    Yes, you can enter whatever subdomain that is, then follow the guide I provided to change it to wildcard
  • Type your comment> @qtwrk said:
    > > @MahmoudNassar said:
    > > Thank you for replay.
    > > in CPanel i can create wildcard as subdomain and create htaccess in it with redirect. and it working
    > > in cyberpanel, i can't create wildcard as subdomain.
    >
    > Yes, you can enter whatever subdomain that is, then follow the guide I provided to change it to wildcard

    in cpanel, i can crate subdomain like "*.sitename.com", but i cant create it in cyberpanel
  • Yes, for the time being , you can enter whatever subdomain that is, like abc.domain.com , then follow the guide I provided to change it to wildcard *
  • Type your comment> @qtwrk said:
    > Yes, for the time being , you can enter whatever subdomain that is, like abc.domain.com , then follow the guide I provided to change it to wildcard *

    i'm so sorry, but how can i change it?
  • > @qtwrk said:
    > https://forums.cyberpanel.net/discussion/3555/tutorial-how-to-access-my-site-with-ip-address#latest
    >
    > in step 2 , you can use * for that vhost to match wildcard domain
  • Type your comment> @qtwrk said:
    > > @qtwrk said:
    > > https://forums.cyberpanel.net/discussion/3555/tutorial-how-to-access-my-site-with-ip-address#latest
    > >
    > > in step 2 , you can use * for that vhost to match wildcard domain
    >
    >

    Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you 😘
    it's working 👍
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!