简体   繁体   中英

how to point a domain folder to a subdomain?

Domain: www.example.com (PHP laravel site)

Subdomain: one.example.com (Wordpress site)

I need to create www.example.com/one with the content of one.example.com . We have currently a simple Laravel routing/redirect from www.example.com/one to one.example.com but we need our WordPress site working on www.example.com/one

how to point a domain folder to a subdomain?

I do not know if a should use DNS records, httpdaccess file, etc..

If you are using ubuntu server you can configure virtual host though apache. Please follow this link https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM