Hello guys,
I have had this problem a long time ago, but never bothered with it because I didnt need it..
Now that I needed, I want to be able to access subdomains:
http://test.marsaldesign.com or http://www.test.marsaldesign.com
Not, currently:
http://www.marsaldesign.com/test
I read some other place:
That I have to add:
<VirtualHost>
ServerAlias marsaldesign.com*.marsaldesign.com
</VirtualHost>
to my virtual host. Also I have to:
Add a domain record of *.marsaldesign.com as an A record to my Ip
Now the record part I got, but the virtual host im having a hard time..
Where is the file (virtual host) that I have to edit to make it work, and What do I need to change to make it work..
And do I have to do that for all domains?
Thank you in advance..
Peace,
I have had this problem a long time ago, but never bothered with it because I didnt need it..
Now that I needed, I want to be able to access subdomains:
http://test.marsaldesign.com or http://www.test.marsaldesign.com
Not, currently:
http://www.marsaldesign.com/test
I read some other place:
That I have to add:
<VirtualHost>
ServerAlias marsaldesign.com*.marsaldesign.com
</VirtualHost>
to my virtual host. Also I have to:
Add a domain record of *.marsaldesign.com as an A record to my Ip
Now the record part I got, but the virtual host im having a hard time..
Code:
*.marsaldesign.com. A 207.234.147.185
test.marsaldesign.com A 207.234.147.185
[url]www.test A 207.234.147.185[/url]
Where is the file (virtual host) that I have to edit to make it work, and What do I need to change to make it work..
And do I have to do that for all domains?
Thank you in advance..
Peace,
Last edited: