Skip to main content

How can I point two domains to the same directory in CPANEL?

Comments

5 comments

  • ffeingol
    In cPanel that would be an alias. Aliases allow a web site to be know/used by more than one domain name.
    0
  • avasquez
    Hello ffeingol "How I can set this alias? In this case, I would need an alias for "web.miweb.live" that points to the same directory as "web.miweb.com". how can I do this? Thank you!
    0
  • sparek-3
    I'm assuming web.miweb.com is an addon domain? Can you not set up web.miweb.live as an addon domain too? But where it lists the DocumentRoot, just set this to be the same as the DocumentRoot you have for web.miweb.com. Why wouldn't that work? You don't have to use the prefilled DocumentRoot path when you set up an addon domain. You can specify a path all on your own.
    0
  • avasquez
    [QUOTE = "sparek-3, publicaci"n: 2789083, miembro: 4919"> "Supongo que web.miweb.com es un dominio adicional? "No puedes configurar web.miweb.live como un dominio adicional tambi"n? Pero donde aparece DocumentRoot, simplemente config"relo para que sea el mismo que el DocumentRoot que tiene para web.miweb.com. "Por qu" no funcionar"a? No tiene que usar la ruta DocumentRoot precargada cuando configura un dominio adicional. Puede especificar una ruta por su cuenta. [/CITAR] Hello sparek-3, what you tell me I have not tried. Could you tell me how it is done? Since I don't have the knowledge
    0
  • SamuelM
    Hello @avasquez I would suggest you add web.miweb.live as an Alias. The following page provides instructions for adding a domain Alias via cPanel:
    0

Please sign in to leave a comment.