Hello,
My english is a little bad
I want to create fake subdomain
but
Digital Ocean :
http://pazarvitrini.com http://test.pazarvitrini.com
another :
http://berkfuat.com http://berk.berkfuat.com http://digitalocean.berkfuat.com
I do not want to create a subdomain for each subdomain via cPanel
I want to do this with fake with htaccess
I hope you understand me
Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
.htaccess can be used to redirect a user to a specific location and this can be based on what subdomain or file path is requested. Is this what you’re looking to do (a redirect)?
For example, this type of .htaccess file can be used to force www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.