I've spended all afternoon finding the right way to make a subdomain. tryed several things. There is nothing to find on google. Can someone please make a detailed simple how-to here. 1:How to make : subdomain.site.com ---> linkes to: site.com/subdomain 2:how to make : subdomain.site.com ---> with its own space. Please help me out.
Make a new aliasdomain. In domain field type the alias, sub.site.com. In Redirect Type choose LR and finally in Redirect Path field type the name of the folder, like this /subfolder/ That's about it. You can do that by creating new website and under domain type the subdomain like sub.site.com
In both cases you need to setup A record to the IP of the webserver. Example: sub.site.com. IN A 192.168.0.1 You can do this through ISPConfig if you are using DNS module or through you DNS provider.
Well, i tryed this. And i only get the subdomain working with its own space. I tryed for a long time, but the alias domain does not work. does anyone know how to do this? And how long do you need to wait for this to work? Thanks in advance!
The alisa domain works as well, its just an alias. So if you enter the alias domain in the browser, you get the website were this domain is the alias for. Thats the intended behaviour of an alias domain.
Ok. But what is the solution to make a subdomain like i discribed. http://sub.site.com needs to display this http://www.site.com/sub How can i make this happen?
Add a aliasdomain and then go to the redirect tab and enter /sub/ as target and "L" as redirect method.