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, 2022 in PHP by Kithuzzz
• 38,000 points
857 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,840 points
3,066 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,840 points
2,016 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,840 points
3,903 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,840 points
10,482 views
0 votes
0 answers

Create a Subdomain in godaddy hosting using PHP

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

Jun 3, 2022 in PHP by Kichu
• 19,040 points
622 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, 2022 in PHP by narikkadan
• 63,600 points
444 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, 2022 in Others by narikkadan
• 63,600 points
444 views
0 votes
0 answers

SEO friendly url using php

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

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

Creating SEO friendly urls using htaccess

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

answered Feb 20, 2022 in Others by narikkadan
• 63,600 points
643 views
0 votes
1 answer

Opencart 3 .x SEO Url not working for route=information/contact, route=account/login

now i m going to see you ...READ MORE

answered Feb 20, 2022 in Others by narikkadan
• 63,600 points
2,897 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP