Can I dynamically create subdomains PHP htaccess with GoDaddy Hosting

0 votes

On my GoDaddy Hosting account, I'm attempting to use.htaccess and PHP in conjunction to instantly generate subdomains. When attempting to change the zone using the wildcard asterisk, I've encountered an issue. I have no idea how this works and only discovered the zone information about the domain after thoroughly perusing the domain manager. I'm unsure of my current course of action. Although I'm getting a little more comfortable with.htaccess, writing RegEx is still really difficult for me.

As of right now, I've done the following:

  1. Logged into GoDaddy Domain Manager.
  2. Went to Tools > DNS Manager.
  3. Opened the Zone File Editor for my domain.
  4. Added an A (Host) Record with Host Name * and in Points to I,P Address I copied the value from the @ entry's IP address, sine that should be the same as my domain...?
  5. Now, after waiting until the nameservers or whatever updated and propogated and stuff, I get a 403 error when I try to access a subdomain.

Can someone please help me with this? 

Aug 7 in PHP by Kithuzzz
• 11,040 points
34 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In PHP

0 votes
1 answer

How can I use Sockets.io on the client side and communicate with a PHP based application on the server?

Hello @kartik, For 'long-lived connection' , you can ...READ MORE

answered Aug 24, 2020 in PHP by Niroj
• 82,780 points
1,607 views
0 votes
1 answer

How can I select and upload multiple files with HTML and PHP using HTTP POST?

Hello @kartik, This is possible in HTML5. Example (PHP ...READ MORE

answered Sep 15, 2020 in PHP by Niroj
• 82,780 points
945 views
0 votes
1 answer

How can I ping a server port with PHP?

Hello @kartik, Test different ports: $wait = 1; // ...READ MORE

answered Nov 19, 2020 in PHP by Niroj
• 82,780 points
1,484 views
0 votes
1 answer

How can I ping a server port with PHP?

Hello, Try this : echo exec('ping -n 1 -w ...READ MORE

answered Nov 22, 2020 in PHP by Niroj
• 82,780 points
4,195 views
0 votes
0 answers

Create a Subdomain in godaddy hosting using PHP

Is there any easiest way to create ...READ MORE

Jun 3 in PHP by Kichu
• 19,040 points
55 views
0 votes
0 answers

How can I parse a JSON file with PHP?

I want to parse a JSON file ...READ MORE

Jun 17 in PHP by narikkadan
• 18,480 points
31 views
0 votes
1 answer

Ceon SEO URl gives the error page not found in zen cart

in the admin section there is  an ...READ MORE

answered Feb 18 in Others by narikkadan
• 18,480 points
42 views
0 votes
0 answers

SEO friendly url using php

I wanted to use php to make ...READ MORE

Feb 18 in Others by Kichu
• 19,040 points
132 views
0 votes
1 answer

Creating SEO friendly urls using htaccess

its just a simple step just use ...READ MORE

answered Feb 20 in Others by narikkadan
• 18,480 points
69 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP