--
You received this message because you are subscribed to the Google Groups "wordpress தமிழாக்கம்" group.
To post to this group, send email to tamil_wordpre...@googlegroups.com.
To unsubscribe from this group, send email to tamil_wordpress_tra...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tamil_wordpress_translation?hl=ta.
இது தான் நான் கண்டது... இதற்கு தான் எனக்கு உதவி தேவை. முடிந்தால் எனக்கு சி-பேனலில் இந்த மாற்றங்களை முயற்சித்து பாருங்கள்.. உங்கள் முகவரிக்கு சி பேனல் விபரம் அனுப்பு உள்ளேன். நன்றி... You're looking to create a custom A record. I'm pretty sure that you can use wildcards when specifying A records which would let you do something like this:
127.0.0.1 would be the IP address of your webserver. The method of actually adding the record will depend on your host. Doing it like http://mywebsite.com/user would be a lot easier to set up if it's an option. Then you could just add a .htaccess file that looks like this:
In the above, usernames are limited to the characters a-z The rewrite rule for grabbing the subdomain would look like this:
|
|||||||||||
|
1
|
You could [potentially] do a rewrite of the URL, but yes: you have to have control of your DNS settings so that when a user is added it gets its own subdomain. |
||
|
1
|
In addition to configuration changes on your WWW server to handle the new subdomain, your code would need to be making changes to your DNS records. So, unless you're running your own BIND (or similar), you'll need to figure out how to access your name server provider's configuration. If they don't offer some sort of API, this might get tricky. Update: yes, I would check with your registrar if they're also providing the name server service (as is often the case). I've never explored this option before but I suspect most of the consumer registrars do not. I Googled for GoDaddy APIs and GoDaddy DNS APIs but wasn't able to turn anything up, so I guess the best option would be to check out the online help with your provider, and if that doesn't answer the question, get a hold of their support staff.
|
|||
|
1
|
Don't fuss around with .htaccess files when you can use Apache mass virtual hosting. From the documentation:
In a way it's the reverse of your question: every 'subdomain' is a user. If the user does not exist, you get an 404. The only drawback is that the environment variable |
||
|
0
|
If you use Cpanel, this is a very good tutorial. |
||
|
0
|
I do it a little different from Mark. I pass the entire domain and grab the subdomain in php.
This ignores images and maps everything else to my index.php file. So if I go to
I get back
Then in my index.php code i just explode my username off of the hostName. This gives me nice pretty SEO URLs. |
||
|
0
|
We setup wildcard DNS like they explained above. So the a record is *.yourname.com Then all of the subdomains are actually going to the same place, but php treats each subdomain as a different account. We use the following code: $url=$_SERVER["REQUEST_URL"]; $account=str_replace(".yourdomain.com","",$url); This code just sets the $account variable the same as the subdomain. You could then retrieve their files and other information based on their account. This probably isn't as efficient as the ways they list above, but if you don't have access to BIND and/or limited .htaccess this method should work (as long as your host will setup the wildcard for you). We actually use this method to connect to the customers database for a multi-company e-commerce application, but it may work for you as well. |
உங்களது ஆங்கில தேடலை இங்கு வெளியிட்டால் என்னால் மொழிபெயர்த்து உதவ முடியும்.
Congratulations!
Your WordPress
µ site has been configured.
You can log in using the username "rrrrrrr" and password xxxxxx
To
use the subdomain feature of WordPress MU you must have a wildcard entry
in your dns. The installer attempted to contact a random hostname
(6df45c.media4agri.com) on your domain but failed. It returned this
error message:
Couldn't resolve host '6df45c.media4agri.com'
From the README.txt:
If you want to host blogs of the form http://blog.domain.tld/ where domain.tld is the domain name of your machine then you must add a wildcard record to your DNS records.
This usually means adding a '*' hostname record pointing at your webserver in your DNS configuration tool. Matt has a more detailed explanation on his blog. If you still have problems, these forum messages may help.
You can still use your site but any subdomain you create may not be accessible. This check is not foolproof so ignore if you know your dns is correct.
Please remember to reset the permissions on the following directories:
You can probably use the following command to fix the permissions
but check with your host if it doubt:
chmod 755
/home/agrimedi/public_html /home/agrimedi/public_html/wp-content/
Now that you've installed WordPress µ, you don't need the installer any more. You can safely delete index-install.php now. It's always a good idea to remove code and scripts you don't need.
Thanks for installing WordPress µ!
Donnchawpmu
version: 2.9.2
உங்களது ஆங்கில தேடலை இங்கு வெளியிட்டால் என்னால் மொழிபெயர்த்து உதவ முடியும்.