Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Changing the path of a domain and adding addon domains?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
kickthemooon
Posts: 4
Joined: Tue Feb 11, 2014 4:38 pm

Changing the path of a domain and adding addon domains?
  • Quote

Post by kickthemooon » Tue Feb 11, 2014 4:45 pm

for example i have this main domain
blablabla.com
i also created the nameservers with this domain and namecheap.com
ns1.blablabla.com
ns2.blablabla.com

the directory this domain is pointing to is the /public_html/ directory.
the goal i want to achieve is to point this domain to public_html/blablabla.com/
and i want to do that with every other domain i add to the webserver.

any suggestions? i would appreciate it alot.

thanks.
Top

kickthemooon
Posts: 4
Joined: Tue Feb 11, 2014 4:38 pm

Re: Changing the path of a domain and adding addon domains?
  • Quote

Post by kickthemooon » Wed Feb 12, 2014 5:17 pm

anyone here guys??
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Changing the path of a domain and adding addon domains?
  • Quote

Post by skid » Thu Feb 13, 2014 11:44 am

I would suggest to use mod_rewrite rules in .htaccess
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password